public interface Command
| Modifier and Type | Method and Description |
|---|---|
boolean |
parseAndExecute(ScriptParser sp,
TokenStream currentStream)
Parse and execute.
|
void |
parseAndSkip(ScriptParser sp,
TokenStream currentStream)
Parse and skip.
|
boolean parseAndExecute(ScriptParser sp, TokenStream currentStream) throws ScriptException
sp - is the script parser to use to help in the parsing.currentStream - is the current token stream.ScriptExceptionvoid parseAndSkip(ScriptParser sp, TokenStream currentStream) throws ScriptException
sp - is the script parser to use to help in the parsing.currentStream - is the current token stream.ScriptException