Class CommandSub

    • Constructor Detail

      • CommandSub

        public CommandSub()
    • Method Detail

      • getSubName

        public java.lang.String getSubName()
        Returns:
        the subName
      • setSubName

        public void setSubName​(java.lang.String subName)
        Parameters:
        subName - the subName to set
      • getCommandEndSub

        public CommandEndSub getCommandEndSub()
        Returns:
        the commandEndSub
      • setCommandEndSub

        public void setCommandEndSub​(CommandEndSub commandEndSub)
        Parameters:
        commandEndSub - the commandEndSub to set
      • getArguments

        public LeftValueList getArguments()
        Returns:
        the arguments
      • setArguments

        public void setArguments​(LeftValueList arguments)
        Parameters:
        arguments - the arguments to set
      • execute

        public void execute​(Interpreter interpreter)
        Just jump over to the end sub and over that. Calling the function is implemented in the expressions and in command CALL.

        Specified by:
        execute in interface Executor
        Specified by:
        execute in class AbstractCommand
        Parameters:
        interpreter - parameter