|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An evaluation engine that performs evaluations by interpretting abstract syntax trees. An AST evalutaion engine is capable of creating compiled expressions that can be evaluated multiple times in a given runtime context.
Clients are not intended to implement this interface.
Method Summary | |
void |
evaluateExpression(ICompiledExpression expression,
IJavaObject object,
IJavaThread thread,
IEvaluationListener listener,
int evaluationDetail,
boolean hitBreakpoints)
Asynchronously evaluates the given expression in the context of the specified type, reporting the result back to the given listener. |
void |
evaluateExpression(ICompiledExpression expression,
IJavaStackFrame frame,
IEvaluationListener listener,
int evaluationDetail,
boolean hitBreakpoints)
Asynchronously evaluates the given expression in the context of the specified stack frame, reporting the result back to the given listener. |
ICompiledExpression |
getCompiledExpression(String expression,
IJavaObject object)
Synchronously generates a compiled expression from the given expression in the context of the specified object. |
ICompiledExpression |
getCompiledExpression(String expression,
IJavaStackFrame frame)
Synchronously generates a compiled expression from the given expression in the context of the specified stack frame. |
Methods inherited from interface org.eclipse.jdt.debug.eval.IEvaluationEngine |
dispose, evaluate, evaluate, getDebugTarget, getJavaProject |
Method Detail |
public void evaluateExpression(ICompiledExpression expression, IJavaStackFrame frame, IEvaluationListener listener, int evaluationDetail, boolean hitBreakpoints) throws DebugException
expression
- expression to evaluateframe
- the stack frame context in which to run the
evaluation.listener
- the listener that will receive notification
when/if the evalaution completesevaluationDetail
- one of DebugEvent.EVALUATION
or
DebugEvent.EVALUATION_IMPLICIT
hitBreakpoints
- whether or not breakpoints should be honored
in the evaluation thread during the evaluation. If false
,
breakpoints hit in the evaluation thread will be ignored.
DebugException
- if this method fails. Reasons include:public void evaluateExpression(ICompiledExpression expression, IJavaObject object, IJavaThread thread, IEvaluationListener listener, int evaluationDetail, boolean hitBreakpoints) throws DebugException
expression
- the expression to evaluatethread
- the thread in which to run the evaluation,
which must be suspendedlistener
- the listener that will receive notification
when/if the evalaution completesevaluationDetail
- one of DebugEvent.EVALUATION
or
DebugEvent.EVALUATION_IMPLICIT
hitBreakpoints
- whether or not breakpoints should be honored
in the evaluation thread during the evaluation. If false
,
breakpoints hit in the evaluation thread will be ignored.
DebugException
- if this method fails. Reasons include:public ICompiledExpression getCompiledExpression(String expression, IJavaStackFrame frame) throws DebugException
expression
- expression to compileframe
- the context in which to compile the expression
DebugException
- if this method fails. Reasons include:public ICompiledExpression getCompiledExpression(String expression, IJavaObject object) throws DebugException
expression
- expression to compileobject
- the context in which to compile the expression
DebugException
- if this method fails. Reasons include:
|
Eclipse JDT 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |