simkin
Class ExecuteResult

java.lang.Object
  |
  +--simkin.ExecuteResult

public class ExecuteResult
extends java.lang.Object

This class is used by the Interpreter to return the result of an execute() method.

The class contains the result of the method, along with the method's parse-tree, which can be cached for swifter execution next time.


Method Summary
 ParseNode getParseTree()
          Returns the parse tree for the method, which can be cached and passed to a faster execute() method
 java.lang.Object getResult()
          Returns the method call result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResult

public java.lang.Object getResult()
Returns the method call result

Returns:
the result of the method call, as an Object

getParseTree

public ParseNode getParseTree()
Returns the parse tree for the method, which can be cached and passed to a faster execute() method

Returns:
the parse tree for the method, which can be cached and passed to a faster execute() method