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