C# Class MichaelReukauff.Lexer.Token

Afficher le fichier Open project: mreu/ProtobufLanguageService Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Token() public méthode

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.
Résultat System.Diagnostics

Token() public méthode

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.
Résultat System.Diagnostics