Class CommandReturn
java.lang.Object
com.scriptbasic.executors.commands.AbstractCommand
com.scriptbasic.executors.commands.CommandReturn
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Interpreter interpreter) voidsetReturnExpression(Expression returnExpression) Methods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, getNextCommand, setNextCommand
-
Constructor Details
-
CommandReturn
public CommandReturn()
-
-
Method Details
-
getReturnExpression
- Returns:
- the returnExpression
-
setReturnExpression
- Parameters:
returnExpression- the returnExpression to set
-
execute
- Specified by:
executein interfaceExecutor- Specified by:
executein classAbstractCommand- Parameters:
interpreter- parameter- Throws:
ScriptBasicException- in case there was an exception
-