C# Класс BACnet.SchemaParser.Lexer

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

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

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