Returns the location of the character past the end of this token.
Returns the Location of this token.
Returns true if this token starts an AsmStatement.
Returns true if this token starts a DeclarationDefinition.
Returns true if this is an integral type token.
Returns true if this is a keyword token.
Returns true if this is a token that can have newlines in it.
Returns true if this is a special token.
Returns true if this token starts a Statement.
Returns true if this is a token string literal.
Returns true if this is a whitespace token.
Counts the newlines in this token.
Returns the next token.
Finds the next non-whitespace token. Does not go past TOK.EOF.
Compares the position of two tokens. Assumes they are from the same source text.
Compares a token's kind to kind2.
Returns the previous token.
Finds the previous non-whitespace token. Does not go past TOK.HEAD.
Returns the text of the token.
Sets the text of the token.
Return the source text enclosed by the left and right token.
Returns the text of this token.
Returns the preceding whitespace of the token.
Return the source text enclosed by the left and right token.
Represents the info of a #line token. Used for error messages.
Represents the value of a "#line Number Filespec?" token.
Represents the data of a newline token.
Represents the string value of a single string literal, where possible escape sequences have been converted to their values.
Represents the long/ulong value of a number literal.
Data associated with this token.
A Token is a sequence of characters recognized by the lexical analyzer.