C# 클래스 BACnet.SchemaParser.Lexer

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

공개 메소드들

메소드 설명
Lexer ( TextReader reader ) : System

Constructs a new lexer instance

Next ( ) : Token

Reads the next token from the lexer

비공개 메소드들

메소드 설명
_eof ( ) : bool

Determines whether the lexer is currently at the end of the input

_nextLine ( ) : void

Moves the lexer to the next line

_peekChar ( ) : char

Peeks at the next character

_readChar ( ) : char

Consumes the next character

_readIdentifierString ( ) : string

Reads an identifier string

_readInteger ( ) : string

Reads an integer token

_readSymbolString ( ) : string

Reads a symbol string

_resolve ( TokenType>.Dictionary types, string value, bool shouldThrow = false ) : Token

Resolves a token

_skipWhiteSpace ( ) : void

Skips a white space region

메소드 상세

Lexer() 공개 메소드

Constructs a new lexer instance
public Lexer ( TextReader reader ) : System
reader TextReader The text reader to parse
리턴 System

Next() 공개 메소드

Reads the next token from the lexer
public Next ( ) : Token
리턴 Token