public class DefaultInterpreter extends java.lang.Object implements Interpreter
Interpreter.Cache| Modifier and Type | Field and Description | 
|---|---|
| static int | DEFAULT_MAX_RECURSION_LIMIT | 
| Constructor and Description | 
|---|
| DefaultInterpreter() | 
| 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() | 
| CodeBuilder | getCodeBuilder() | 
| Code | getCurrentCode() | 
| int | getMaxRecursionLimit() | 
| 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 code) | 
| void | setAccuracy(java.lang.Double accuracy) | 
| void | setMaxRecursionLimit(int limit) | 
| void | setResourcesStorage(ResourcesStorage resourcesStorage) | 
| void | setSQLCompatible(boolean sqlCompatible) | 
| void | setSymbolTable(SymbolTable symbolTable) | 
| void | setWriter(java.io.Writer writer) | 
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloneQuietly, cloneQuietlypublic Interpreter clone() throws java.lang.CloneNotSupportedException
Cloneableclone in interface Interpreterclone in class java.lang.Objectjava.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()}.public CodeBuilder getCodeBuilder()
public ResourcesStorage getResourcesStorage()
getResourcesStorage in interface Interpreterpublic void setResourcesStorage(ResourcesStorage resourcesStorage)
setResourcesStorage in interface Interpreterpublic java.io.Writer getWriter()
getWriter in interface Interpreterpublic void setWriter(java.io.Writer writer)
setWriter in interface Interpreterpublic java.lang.Object call(SymbolTable symbolTable, java.lang.String funcname, java.lang.Object... args) throws java.lang.Exception
call in interface Interpreterjava.lang.Exceptionpublic java.lang.Object call(java.lang.String function,
                             java.lang.Object... args)
                      throws java.lang.Exception
call in interface Interpreterjava.lang.Exceptionpublic boolean hasFunction(java.lang.String function)
hasFunction in interface Interpreterpublic int getMaxRecursionLimit()
public void setMaxRecursionLimit(int limit)
public Interpreter.Cache getCache()
getCache in interface Interpreterpublic void setSymbolTable(SymbolTable symbolTable)
setSymbolTable in interface Interpreterpublic SymbolTable getSymbolTable()
getSymbolTable in interface Interpreterpublic java.lang.Double getAccuracy()
getAccuracy in interface Interpreterpublic void setAccuracy(java.lang.Double accuracy)
setAccuracy in interface Interpreterpublic void setSQLCompatible(boolean sqlCompatible)
setSQLCompatible in interface Interpreterpublic boolean isSQLCompatible()
isSQLCompatible in interface Interpreterpublic void run(MutableSymbolTable symbolTable, Code code)
run in interface Interpreterpublic java.lang.Object run(Code code)
run in interface Interpreterpublic void link(Code code)
link in interface Interpreterpublic java.lang.Object runCode(Code code) throws java.lang.Exception
runCode in interface Interpreterjava.lang.Exceptionpublic Code getCurrentCode()
getCurrentCode in interface Interpreter