|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Evaluator<PreprocessedInfo>
Evaluator service for a language that compiles into bytecode.
Implementation class should register using the annotation Evaluator.Registration
for the desired language.
Nested Class Summary | |
---|---|
static class |
Evaluator.Context
Context of the evaluation. |
static class |
Evaluator.Expression<PreprocessedInfo>
Representation of an expression that is a subject of evaluation. |
static interface |
Evaluator.Registration
Declarative registration of Evaluator implementation. |
static class |
Evaluator.Result
Evaluation result. |
Method Summary | |
---|---|
Evaluator.Result |
evaluate(Evaluator.Expression<PreprocessedInfo> expression,
Evaluator.Context context)
Evaluates given expression and provide the result. |
Method Detail |
---|
Evaluator.Result evaluate(Evaluator.Expression<PreprocessedInfo> expression, Evaluator.Context context) throws InvalidExpressionException
expression
- the expression to be evaluatedcontext
- the context in which the expression is evaluated
InvalidExpressionException
- when the expression is invalid or other
error occurs during the evaluation process.
|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |