C# Class UnityEditor.Scripting.Compilers.CompilerOutputParserBase

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
Parse ( string errorOutput, bool compilationHadFailure ) : IEnumerable
Parse ( string errorOutput, string standardOutput, bool compilationHadFailure ) : IEnumerable

Méthodes protégées

Méthode 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 méthode

protected CompilerOutputParserBase ( ) : System
Résultat System

CreateCompilerMessageFromMatchedRegex() protected static méthode

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

CreateInternalCompilerErrorMessage() protected static méthode

protected static CreateInternalCompilerErrorMessage ( string compileroutput ) : CompilerMessage
compileroutput string
Résultat CompilerMessage

GetErrorIdentifier() protected abstract méthode

protected abstract GetErrorIdentifier ( ) : string
Résultat string

GetInternalErrorOutputRegex() protected méthode

protected GetInternalErrorOutputRegex ( ) : Regex
Résultat System.Text.RegularExpressions.Regex

GetOutputRegex() protected abstract méthode

protected abstract GetOutputRegex ( ) : Regex
Résultat System.Text.RegularExpressions.Regex

NormalizeMemberNotFoundError() protected static méthode

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

NormalizeSimpleUnknownTypeOfNamespaceError() protected static méthode

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

NormalizeUnknownTypeMemberOfNamespaceError() protected static méthode

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

NormalizedStatusFor() protected méthode

protected NormalizedStatusFor ( Match match ) : NormalizedCompilerStatus
match System.Text.RegularExpressions.Match
Résultat NormalizedCompilerStatus

Parse() public méthode

public Parse ( string errorOutput, bool compilationHadFailure ) : IEnumerable
errorOutput string
compilationHadFailure bool
Résultat IEnumerable

Parse() public méthode

public Parse ( string errorOutput, string standardOutput, bool compilationHadFailure ) : IEnumerable
errorOutput string
standardOutput string
compilationHadFailure bool
Résultat IEnumerable

TryNormalizeCompilerStatus() protected static méthode

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
Résultat NormalizedCompilerStatus