Class CommandSub
java.lang.Object
com.scriptbasic.executors.commands.AbstractCommand
com.scriptbasic.executors.commands.CommandSub
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Interpreter interpreter) Just jump over to the end sub and over that.voidsetArguments(LeftValueList arguments) voidsetCommandEndSub(CommandEndSub commandEndSub) voidsetSubName(String subName) Methods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, getNextCommand, setNextCommand
-
Constructor Details
-
CommandSub
public CommandSub()
-
-
Method Details
-
getSubName
- Returns:
- the subName
-
setSubName
- Parameters:
subName- the subName to set
-
getCommandEndSub
- Returns:
- the commandEndSub
-
setCommandEndSub
- Parameters:
commandEndSub- the commandEndSub to set
-
getArguments
- Returns:
- the arguments
-
setArguments
- Parameters:
arguments- the arguments to set
-
execute
Just jump over to the end sub and over that. Calling the function is implemented in the expressions and in command CALL.- Specified by:
executein interfaceExecutor- Specified by:
executein classAbstractCommand- Parameters:
interpreter- parameter
-