Class AbstractCommand

java.lang.Object
com.scriptbasic.executors.commands.AbstractCommand
All Implemented Interfaces:
AnalysisResult, Executor, NestedStructure, Command
Direct Known Subclasses:
AbstractCommandExpressionListed, AbstractCommandIfElseKind, AbstractCommandLeftValueListed, AbstractCommandSelectPart, AbstractInsecureCommand, CommandEndSelect, CommandEndSub, CommandFor, CommandLet, CommandNext, CommandReturn, CommandSub, CommandWend, CommandWhile

public abstract class AbstractCommand
extends java.lang.Object
implements Executor, Command, NestedStructure
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractCommand()  
  • Method Summary

    Modifier and Type Method Description
    void checkedExecute​(Interpreter interpreter)  
    abstract void execute​(Interpreter interpreter)  
    Command getNextCommand()
    Get the next command that has to be executed unless some condition alters this, like in case of If, While and similar.
    void setNextCommand​(Command nextCommand)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait