Returns the current token as a string.
Source position: classesh.inc line 2213
public function TParser.TokenString: string; |
If current token type is toString or toWString, this method returns the contents of the string. That is, enclosing quotes are removed, embedded quotes are unescaped and control strings are converted to the appropriate sequence of characters.
If current token type isn't a string, a string containing the token representation in the input stream is returned, without any conversion: hexadecimal integers are returned with the leading $, and floating point suffixes like s, c or d are kept. For tokens whose type isn't a special type, return value of TokenString equals Token.
Remark: | If Token is toWString, TokenWideString should be used instead. |
None.
|
Reads the next token and returns its type. |
|
|
Returns the current token as a widestring. |
|
|
The type of the current token. |
|
|
Value returned by TParser.Token when a string was found in the input stream. |
|
|
Value returned by TParser.Token when a widestring was found in the input stream. |