C# Class UnityEditor.Scripting.Compilers.CompilerOutputParserBase

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Parse ( string errorOutput, bool compilationHadFailure ) : IEnumerable
Parse ( string errorOutput, string standardOutput, bool compilationHadFailure ) : IEnumerable

Protected Methods

Method Description
CompilerOutputParserBase ( ) : System
CreateCompilerMessageFromMatchedRegex ( string line, Match m, string erroridentifier ) : CompilerMessage
CreateInternalCompilerErrorMessage ( string compileroutput ) : CompilerMessage
GetErrorIdentifier ( ) : string
GetInternalErrorOutputRegex ( ) : Regex
GetOutputRegex ( ) : Regex
NormalizeMemberNotFoundError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
NormalizeSimpleUnknownTypeOfNamespaceError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
NormalizeUnknownTypeMemberOfNamespaceError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
NormalizedStatusFor ( Match match ) : NormalizedCompilerStatus
TryNormalizeCompilerStatus ( Match match, string idToCheck, Regex messageParser, Func normalizer ) : NormalizedCompilerStatus

Method Details

CompilerOutputParserBase() protected method

protected CompilerOutputParserBase ( ) : System
return System

CreateCompilerMessageFromMatchedRegex() protected static method

protected static CreateCompilerMessageFromMatchedRegex ( string line, Match m, string erroridentifier ) : CompilerMessage
line string
m System.Text.RegularExpressions.Match
erroridentifier string
return CompilerMessage

CreateInternalCompilerErrorMessage() protected static method

protected static CreateInternalCompilerErrorMessage ( string compileroutput ) : CompilerMessage
compileroutput string
return CompilerMessage

GetErrorIdentifier() protected abstract method

protected abstract GetErrorIdentifier ( ) : string
return string

GetInternalErrorOutputRegex() protected method

protected GetInternalErrorOutputRegex ( ) : Regex
return System.Text.RegularExpressions.Regex

GetOutputRegex() protected abstract method

protected abstract GetOutputRegex ( ) : Regex
return System.Text.RegularExpressions.Regex

NormalizeMemberNotFoundError() protected static method

protected static NormalizeMemberNotFoundError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
errorMsg string
messageParser System.Text.RegularExpressions.Regex
return NormalizedCompilerStatus

NormalizeSimpleUnknownTypeOfNamespaceError() protected static method

protected static NormalizeSimpleUnknownTypeOfNamespaceError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
errorMsg string
messageParser System.Text.RegularExpressions.Regex
return NormalizedCompilerStatus

NormalizeUnknownTypeMemberOfNamespaceError() protected static method

protected static NormalizeUnknownTypeMemberOfNamespaceError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
errorMsg string
messageParser System.Text.RegularExpressions.Regex
return NormalizedCompilerStatus

NormalizedStatusFor() protected method

protected NormalizedStatusFor ( Match match ) : NormalizedCompilerStatus
match System.Text.RegularExpressions.Match
return NormalizedCompilerStatus

Parse() public method

public Parse ( string errorOutput, bool compilationHadFailure ) : IEnumerable
errorOutput string
compilationHadFailure bool
return IEnumerable

Parse() public method

public Parse ( string errorOutput, string standardOutput, bool compilationHadFailure ) : IEnumerable
errorOutput string
standardOutput string
compilationHadFailure bool
return IEnumerable

TryNormalizeCompilerStatus() protected static method

protected static TryNormalizeCompilerStatus ( Match match, string idToCheck, Regex messageParser, Func normalizer ) : NormalizedCompilerStatus
match System.Text.RegularExpressions.Match
idToCheck string
messageParser System.Text.RegularExpressions.Regex
normalizer Func
return NormalizedCompilerStatus