C# 클래스 MichaelReukauff.Lexer.Token

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

공개 메소드들

메소드 설명
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