RetryCommandTokensExceptionclass
Exception: Retry a command with new tokens. In some cases, the parser processes a command by replacing the command with a new one and processing the new one instead of the original. When this happens, the parser will throw this exception, filling in newTokens_ with the replacement token list.
Note that this is meant to replace the current command only - this exception effectively *edits* the current command. Any pending tokens after the current command should be retained when this exception is thrown.
class
RetryCommandTokensException
:
ParserException
Superclass Tree (in declaration order)
RetryCommandTokensException
ParserException
Exception
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
Inherited from Exception
:
errmsg_
Summary of Methods
Inherited from Exception
:
displayException
getExceptionMessage
showStackTrace
Properties
newTokens_
The replacement token list. Note that this is in the same format as the token list returned from the tokenizer, so this is a list consisting of two sublists - one for the token strings, the other for the corresponding token types.
Methods
construct (lst)
OVERRIDDEN
no description available
TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3