C# Класс MichaelReukauff.Lexer.Token

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

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

Метод Описание
Token ( int line, Match match, CodeType codeType ) : System.Diagnostics

Initializes a new instance of the Token class.

Token ( int line, int position, int length, string text, CodeType codeType ) : System.Diagnostics

Initializes a new instance of the Token class.

Описание методов

Token() публичный Метод

Initializes a new instance of the Token class.
public Token ( int line, Match match, CodeType codeType ) : System.Diagnostics
line int The line.
match System.Text.RegularExpressions.Match The match.
codeType CodeType The code type.
Результат System.Diagnostics

Token() публичный Метод

Initializes a new instance of the Token class.
public Token ( int line, int position, int length, string text, CodeType codeType ) : System.Diagnostics
line int Line number where the token was found (beginning with line 0).
position int Position of the token in the line (starting with 0).
length int The length of the text.
text string Found text.
codeType CodeType The type of the token.
Результат System.Diagnostics