C# Class ShaderTools.Unity.Diagnostics.DiagnosticExtensions

Afficher le fichier Open project: tgjones/HlslTools

Méthodes publiques

Méthode Description
GetMessage ( this diagnosticId ) : string
Report ( this diagnostics, TextSpan textSpan, DiagnosticId diagnosticId ) : void
ReportIllegalInputCharacter ( this diagnostics, TextSpan textSpan, char character ) : void
ReportInvalidHex ( this diagnostics, TextSpan textSpan, string tokenText ) : void
ReportInvalidInteger ( this diagnostics, TextSpan textSpan, string tokenText ) : void
ReportInvalidOctal ( this diagnostics, TextSpan textSpan, string tokenText ) : void
ReportInvalidReal ( this diagnostics, TextSpan textSpan, string tokenText ) : void
ReportNumberTooLarge ( this diagnostics, TextSpan textSpan, string tokenText ) : void
ReportTokenExpected ( this diagnostics, TextSpan span, SyntaxToken actual, SyntaxKind expected ) : void
ReportTokenExpectedMultipleChoices ( this diagnostics, TextSpan span, SyntaxToken actual, IEnumerable expected ) : void
ReportTokenUnexpected ( this diagnostics, TextSpan span, SyntaxToken actual ) : void
ReportUnterminatedComment ( this diagnostics, TextSpan textSpan ) : void
ReportUnterminatedString ( this diagnostics, TextSpan textSpan ) : void

Method Details

GetMessage() public static méthode

public static GetMessage ( this diagnosticId ) : string
diagnosticId this
Résultat string

Report() public static méthode

public static Report ( this diagnostics, TextSpan textSpan, DiagnosticId diagnosticId ) : void
diagnostics this
textSpan TextSpan
diagnosticId DiagnosticId
Résultat void

ReportIllegalInputCharacter() public static méthode

public static ReportIllegalInputCharacter ( this diagnostics, TextSpan textSpan, char character ) : void
diagnostics this
textSpan TextSpan
character char
Résultat void

ReportInvalidHex() public static méthode

public static ReportInvalidHex ( this diagnostics, TextSpan textSpan, string tokenText ) : void
diagnostics this
textSpan TextSpan
tokenText string
Résultat void

ReportInvalidInteger() public static méthode

public static ReportInvalidInteger ( this diagnostics, TextSpan textSpan, string tokenText ) : void
diagnostics this
textSpan TextSpan
tokenText string
Résultat void

ReportInvalidOctal() public static méthode

public static ReportInvalidOctal ( this diagnostics, TextSpan textSpan, string tokenText ) : void
diagnostics this
textSpan TextSpan
tokenText string
Résultat void

ReportInvalidReal() public static méthode

public static ReportInvalidReal ( this diagnostics, TextSpan textSpan, string tokenText ) : void
diagnostics this
textSpan TextSpan
tokenText string
Résultat void

ReportNumberTooLarge() public static méthode

public static ReportNumberTooLarge ( this diagnostics, TextSpan textSpan, string tokenText ) : void
diagnostics this
textSpan TextSpan
tokenText string
Résultat void

ReportTokenExpected() public static méthode

public static ReportTokenExpected ( this diagnostics, TextSpan span, SyntaxToken actual, SyntaxKind expected ) : void
diagnostics this
span TextSpan
actual SyntaxToken
expected SyntaxKind
Résultat void

ReportTokenExpectedMultipleChoices() public static méthode

public static ReportTokenExpectedMultipleChoices ( this diagnostics, TextSpan span, SyntaxToken actual, IEnumerable expected ) : void
diagnostics this
span TextSpan
actual SyntaxToken
expected IEnumerable
Résultat void

ReportTokenUnexpected() public static méthode

public static ReportTokenUnexpected ( this diagnostics, TextSpan span, SyntaxToken actual ) : void
diagnostics this
span TextSpan
actual SyntaxToken
Résultat void

ReportUnterminatedComment() public static méthode

public static ReportUnterminatedComment ( this diagnostics, TextSpan textSpan ) : void
diagnostics this
textSpan TextSpan
Résultat void

ReportUnterminatedString() public static méthode

public static ReportUnterminatedString ( this diagnostics, TextSpan textSpan ) : void
diagnostics this
textSpan TextSpan
Résultat void