Property TokenType
TokenType
After calling {@code nextToken()}, {@code ttype} contains the type of token that has been read. When a single character is read, its value converted to an integer is stored in {@code ttype}. For a quoted string, the value is the quoted character. Otherwise, its value is one of the following:
- TT_WORD - the token is a word.
- TT_NUMBER - the token is a number.
- TT_EOL - the end of line has been reached. Depends on
whether IsEOLSignificant is
true
. - TT_EOF - the end of the stream has been reached.
Declaration
public int TokenType { get; }
Property Value
Type | Description |
---|---|
System.Int32 |