C# 클래스 VBF.Compilers.Scanners.Lexeme

파일 보기 프로젝트 열기: Ninputer/VBF 1 사용 예제들

공개 메소드들

메소드 설명
CreateEmptyLexeme ( ) : Lexeme
GetErrorCorrectionLexeme ( int expectedTokenIndex, string expectedValue ) : Lexeme
GetTokenIndex ( int lexerState ) : int
ToContentString ( ) : string

Generates the content string of this lexeme.

비공개 메소드들

메소드 설명
Lexeme ( VBF.Compilers.Scanners.ScannerInfo scannerInfo, int state, SourceSpan span, string content ) : System
SetTrivia ( IReadOnlyList trivia ) : void

메소드 상세

CreateEmptyLexeme() 공개 정적인 메소드

public static CreateEmptyLexeme ( ) : Lexeme
리턴 Lexeme

GetErrorCorrectionLexeme() 공개 메소드

public GetErrorCorrectionLexeme ( int expectedTokenIndex, string expectedValue ) : Lexeme
expectedTokenIndex int
expectedValue string
리턴 Lexeme

GetTokenIndex() 공개 메소드

public GetTokenIndex ( int lexerState ) : int
lexerState int
리턴 int

ToContentString() 공개 메소드

Generates the content string of this lexeme.
public ToContentString ( ) : string
리턴 string