프로퍼티 | 타입 | 설명 | |
---|---|---|---|
span | Span | ||
type | TokenType |
메소드 | 설명 | |
---|---|---|
ToString ( ) : string |
Returns a more debug friendly representation of this token.
|
메소드 | 설명 | |
---|---|---|
New ( TokenType type, Span span, string image ) : Token |
Create a new token. This is basically an alias for the private constructor. The only resong for the existence of this method is consistency with the other means of constructing a token.
|
|
NewBuiltinTyName ( Span span, string name ) : Token |
Returns a new token for a builtin type name.
|
|
NewChar ( Span span, uint value ) : Token |
Returns a new token for a character literal.
|
|
NewFloat ( Span span, double value, string image, string suffix ) : Token |
Returns a new token for a float literal.
|
|
NewIdentifier ( Span span, string image ) : Token |
Returns a new token for an identifier.
|
|
NewIdentifierOperator ( Span span, string image ) : Token |
Returns a new token for an identifier operator.
|
|
NewInteger ( Span span, ulong value, string image, string suffix ) : Token |
Returns a new token for an integer literal.
|
|
NewKeyword ( TokenType keyword, Span span, string image ) : Token |
Returns a new token for a keyword.
|
|
NewOperator ( Span span, string image ) : Token |
Returns a new token for an operator.
|
|
NewOperator ( TokenType type, Span span, string image ) : Token |
Returns a new token for a specific reserved operator.
|
|
NewString ( Span span, string value, bool verbatim, bool cstr ) : Token |
Returns a new token for a string literal.
|
|
NewSymbol ( Span span, string image ) : Token |
Returns a new token for a symbol.
|
|
Token ( TokenType type, Span span, string image, string>.Func |