Method Summary |
|
public void | addBuildDirectoryClassPath(File path) |
public void | addExternalFilesClassPath(File path) |
public void | addExtraClassPath(File path) |
public void | addProjectClassPath(File path) Adds a path to the current classpath. |
public void | addProjectFilesClassPath(File path) |
public void | defineConstant(String name, Object value) Assigns the given value to the given name in the interpreter. |
public void | defineConstant(String name, boolean value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineConstant(String name, byte value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineConstant(String name, char value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineConstant(String name, double value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineConstant(String name, float value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineConstant(String name, int value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineConstant(String name, long value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineConstant(String name, short value) Assigns the given value to the given name as a constant in the interpreter. |
public void | defineVariable(String name, Object value, Class> type) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, Object value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, boolean value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, byte value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, char value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, double value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, float value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, int value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, long value) Assigns the given value to the given name in the interpreter. |
public void | defineVariable(String name, short value) Assigns the given value to the given name in the interpreter. |
public boolean | getPrivateAccessible() Gets whether protected and private variables should be accessible in the interpreter. |
public Object | getVariable(String name) Returns the value of the variable with the given name in the interpreter. |
public Class> | getVariableClass(String name) Returns the class of the variable with the given name in the interpreter. |
public Object | interpret(String s) Interprets a string as Java source. |
public EvaluationVisitor | makeEvaluationVisitor(Context context) Factory method to make a new EvaluationVisitor. |
public GlobalContext | makeGlobalContext(TreeInterpreter i) |
public NameVisitor | makeNameVisitor(Context nameContext) Factory method to make a new NameVisitor. |
public List<Node> | parse(String input) |
public Node | processTree(Node node) Processes the tree before evaluating it, if necessary. |
public void | setPackageScope(String packageName) Set the scope for unqualified names to the given package. |
public void | setPrivateAccessible(boolean accessible) Sets whether protected and private variables should be accessible in the interpreter. |