Package codeanalysis
Class EvaluationResult
java.lang.Object
codeanalysis.EvaluationResult
The EvaluationResult class represents the result of a code evaluation.
It contains the computed value and any associated diagnostics.
- Version:
- 1.0
- Author:
- Siyabend Urun
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEvaluationResult(DiagnosticBox diagnostics, Object value) Creates a new instance of the EvaluationResult class with the specified diagnostics and value. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the diagnostics box associated with the evaluation result.getValue()Retrieves the computed value of the evaluation.
-
Constructor Details
-
EvaluationResult
Creates a new instance of the EvaluationResult class with the specified diagnostics and value.- Parameters:
diagnostics- The diagnostics associated with the evaluation.value- The computed value of the evaluation.
-
-
Method Details
-
diagnostics
Retrieves the diagnostics box associated with the evaluation result.- Returns:
- The diagnostics.
-
getValue
Retrieves the computed value of the evaluation.- Returns:
- The computed value.
-