C# Class VBF.Compilers.Scanners.Lexeme

Afficher le fichier Open project: Ninputer/VBF Class Usage Examples

Méthodes publiques

Méthode Description
CreateEmptyLexeme ( ) : Lexeme
GetErrorCorrectionLexeme ( int expectedTokenIndex, string expectedValue ) : Lexeme
GetTokenIndex ( int lexerState ) : int
ToContentString ( ) : string

Generates the content string of this lexeme.

Private Methods

Méthode Description
Lexeme ( VBF.Compilers.Scanners.ScannerInfo scannerInfo, int state, SourceSpan span, string content ) : System
SetTrivia ( IReadOnlyList trivia ) : void

Method Details

CreateEmptyLexeme() public static méthode

public static CreateEmptyLexeme ( ) : Lexeme
Résultat Lexeme

GetErrorCorrectionLexeme() public méthode

public GetErrorCorrectionLexeme ( int expectedTokenIndex, string expectedValue ) : Lexeme
expectedTokenIndex int
expectedValue string
Résultat Lexeme

GetTokenIndex() public méthode

public GetTokenIndex ( int lexerState ) : int
lexerState int
Résultat int

ToContentString() public méthode

Generates the content string of this lexeme.
public ToContentString ( ) : string
Résultat string