@NotThreadSafe public interface Interpreter extends Cloneable
Modifier and Type | Interface and Description |
---|---|
static interface |
Interpreter.Cache |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call(java.lang.String function,
java.lang.Object... args) |
java.lang.Object |
call(SymbolTable symbolTable,
java.lang.String funcname,
java.lang.Object... args) |
Interpreter |
clone()
Creates a copy of the object.
|
java.lang.Double |
getAccuracy() |
Interpreter.Cache |
getCache() |
Code |
getCurrentCode() |
ResourcesStorage |
getResourcesStorage() |
SymbolTable |
getSymbolTable() |
java.io.Writer |
getWriter() |
boolean |
hasFunction(java.lang.String function) |
boolean |
isSQLCompatible() |
void |
link(Code code) |
java.lang.Object |
run(Code code) |
void |
run(MutableSymbolTable symbolTable,
Code code) |
java.lang.Object |
runCode(Code arg) |
void |
setAccuracy(java.lang.Double accuracy) |
void |
setResourcesStorage(ResourcesStorage resources) |
void |
setSQLCompatible(boolean sqlCompatible) |
void |
setSymbolTable(SymbolTable symbolTable) |
void |
setWriter(java.io.Writer writer) |
cloneQuietly, cloneQuietly
void setSymbolTable(SymbolTable symbolTable)
SymbolTable getSymbolTable()
java.lang.Object run(Code code)
void run(MutableSymbolTable symbolTable, Code code)
java.lang.Object runCode(Code arg) throws java.lang.Exception
java.lang.Exception
void link(Code code)
java.lang.Double getAccuracy()
void setAccuracy(java.lang.Double accuracy)
Code getCurrentCode()
Interpreter.Cache getCache()
Interpreter clone() throws java.lang.CloneNotSupportedException
Cloneable
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.
void setSQLCompatible(boolean sqlCompatible)
boolean isSQLCompatible()
java.lang.Object call(java.lang.String function, java.lang.Object... args) throws java.lang.Exception
java.lang.Exception
java.lang.Object call(SymbolTable symbolTable, java.lang.String funcname, java.lang.Object... args) throws java.lang.Exception
java.lang.Exception
boolean hasFunction(java.lang.String function)
java.io.Writer getWriter()
void setWriter(java.io.Writer writer)
void setResourcesStorage(ResourcesStorage resources)
ResourcesStorage getResourcesStorage()