public class DefaultInterpreter extends Object implements Interpreter
Interpreter.Cache
Constructor and Description |
---|
DefaultInterpreter() |
Modifier and Type | Method and Description |
---|---|
Double |
getAccuracy() |
Interpreter.Cache |
getCache() |
Code |
getCurrentCode() |
SymbolTable |
getSymbolTable() |
void |
link(Code code) |
Object |
run(Code code) |
void |
setAccuracy(Double accuracy) |
void |
setSymbolTable(SymbolTable symbolTable) |
public Interpreter.Cache getCache()
getCache
in interface Interpreter
public void setSymbolTable(SymbolTable symbolTable)
setSymbolTable
in interface Interpreter
public SymbolTable getSymbolTable()
getSymbolTable
in interface Interpreter
public Double getAccuracy()
getAccuracy
in interface Interpreter
public void setAccuracy(Double accuracy)
setAccuracy
in interface Interpreter
public Object run(Code code)
run
in interface Interpreter
public void link(Code code)
link
in interface Interpreter
public Code getCurrentCode()
getCurrentCode
in interface Interpreter