Package org.qdl_lang.parsing
Class QDLRunner
- java.lang.Object
-
- org.qdl_lang.parsing.QDLRunner
-
- All Implemented Interfaces:
Serializable
public class QDLRunner extends Object implements Serializable
/** The main class that runs a parse treeCreated by Jeff Gaynor
on 1/22/20 at 6:15 AM- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Element>
getElements()
QDLInterpreter
getInterpreter()
Object
getLastResult()
Boolean
getPrettyPrint()
State
getState()
boolean
isEchoModeOn()
void
restart(SIEntry siEntry)
void
run()
protected void
run(int startIndex, State currentState)
void
setEchoModeOn(boolean echoModeOn)
void
setElements(ArrayList<Element> elements)
void
setInterpreter(QDLInterpreter interpreter)
void
setPrettyPrint(Boolean prettyPrint)
void
setState(State state)
You may inject state at runtime if you need this to start with some existing state.
-
-
-
Method Detail
-
isEchoModeOn
public boolean isEchoModeOn()
-
setEchoModeOn
public void setEchoModeOn(boolean echoModeOn)
-
getState
public State getState()
-
getPrettyPrint
public Boolean getPrettyPrint()
-
setPrettyPrint
public void setPrettyPrint(Boolean prettyPrint)
-
setState
public void setState(State state)
You may inject state at runtime if you need this to start with some existing state.- Parameters:
state
-
-
getInterpreter
public QDLInterpreter getInterpreter()
-
setInterpreter
public void setInterpreter(QDLInterpreter interpreter)
-
restart
public void restart(SIEntry siEntry)
-
getLastResult
public Object getLastResult()
-
run
protected void run(int startIndex, State currentState)
-
-