public interface Runner extends VarEvaluator
| Modifier and Type | Method and Description |
|---|---|
DeliaGeneratePhase |
createGenerator()
Get a generator which can be used to
render DValues into xml,json,etc
|
TypeRunner |
createTypeRunner() |
ResultValue |
executeOneStatement(Exp exp)
Execute a single statement.
|
ResultValue |
executeProgram(List<Exp> expL)
Execute a single statement.
|
boolean |
exists(String varName)
Does the given variable exist.
|
InternalCompileState |
getCompileState()
Get the compiler state.
|
ExecutionState |
getExecutionState()
Get the new execution context.
|
Log |
getLog() |
DTypeRegistry |
getRegistry() |
SprigService |
getSprigSvc() |
ResultValue |
getVar(String varName)
Gets a variable's value
|
boolean |
init(ExecutionState execState)
Initialize the runner.
|
evalVarAsString, lookupVarLog getLog()
DeliaGeneratePhase createGenerator()
InternalCompileState getCompileState()
ExecutionState getExecutionState()
boolean init(ExecutionState execState)
execState - - if null then runner will create a new execution state.ResultValue executeOneStatement(Exp exp)
exp - AST object to executeResultValue executeProgram(List<Exp> expL)
expL - AST object to executeboolean exists(String varName)
varName - variable nameResultValue getVar(String varName)
varName - variable nameDTypeRegistry getRegistry()
TypeRunner createTypeRunner()
SprigService getSprigSvc()
Copyright © 2020. All rights reserved.