C# Класс UnityEditor.Scripting.Compilers.CompilerOutputParserBase

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Parse ( string errorOutput, bool compilationHadFailure ) : IEnumerable
Parse ( string errorOutput, string standardOutput, bool compilationHadFailure ) : IEnumerable

Защищенные методы

Метод Описание
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

Описание методов

CompilerOutputParserBase() защищенный Метод

protected CompilerOutputParserBase ( ) : System
Результат System

CreateCompilerMessageFromMatchedRegex() защищенный статический Метод

protected static CreateCompilerMessageFromMatchedRegex ( string line, Match m, string erroridentifier ) : CompilerMessage
line string
m System.Text.RegularExpressions.Match
erroridentifier string
Результат CompilerMessage

CreateInternalCompilerErrorMessage() защищенный статический Метод

protected static CreateInternalCompilerErrorMessage ( string compileroutput ) : CompilerMessage
compileroutput string
Результат CompilerMessage

GetErrorIdentifier() защищенный абстрактный Метод

protected abstract GetErrorIdentifier ( ) : string
Результат string

GetInternalErrorOutputRegex() защищенный Метод

protected GetInternalErrorOutputRegex ( ) : Regex
Результат System.Text.RegularExpressions.Regex

GetOutputRegex() защищенный абстрактный Метод

protected abstract GetOutputRegex ( ) : Regex
Результат System.Text.RegularExpressions.Regex

NormalizeMemberNotFoundError() защищенный статический Метод

protected static NormalizeMemberNotFoundError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
errorMsg string
messageParser System.Text.RegularExpressions.Regex
Результат NormalizedCompilerStatus

NormalizeSimpleUnknownTypeOfNamespaceError() защищенный статический Метод

protected static NormalizeSimpleUnknownTypeOfNamespaceError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
errorMsg string
messageParser System.Text.RegularExpressions.Regex
Результат NormalizedCompilerStatus

NormalizeUnknownTypeMemberOfNamespaceError() защищенный статический Метод

protected static NormalizeUnknownTypeMemberOfNamespaceError ( string errorMsg, Regex messageParser ) : NormalizedCompilerStatus
errorMsg string
messageParser System.Text.RegularExpressions.Regex
Результат NormalizedCompilerStatus

NormalizedStatusFor() защищенный Метод

protected NormalizedStatusFor ( Match match ) : NormalizedCompilerStatus
match System.Text.RegularExpressions.Match
Результат NormalizedCompilerStatus

Parse() публичный Метод

public Parse ( string errorOutput, bool compilationHadFailure ) : IEnumerable
errorOutput string
compilationHadFailure bool
Результат IEnumerable

Parse() публичный Метод

public Parse ( string errorOutput, string standardOutput, bool compilationHadFailure ) : IEnumerable
errorOutput string
standardOutput string
compilationHadFailure bool
Результат IEnumerable

TryNormalizeCompilerStatus() защищенный статический Метод

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
Результат NormalizedCompilerStatus