1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 17:26:01 +02:00

Changed the expression evaluation methods.

This commit is contained in:
Mikhail Khodjaiants 2002-08-09 19:22:09 +00:00
parent 3bfd79a7d0
commit d14df0d99d

View file

@ -112,20 +112,23 @@ public interface ICTarget extends ICObject
/** /**
* Evaluates the expression specified by the given string. * Evaluates the expression specified by the given string.
* Returns the evaluation result as an ICValue.
* *
* @param - expression string to be evaluated * @param - expression string to be evaluated
* @return an expression object * @return the result of the evaluation
* @throws CDIException if this method fails. Reasons include: * @throws CDIException if this method fails. Reasons include:
*/ */
ICExpression evaluateExpression( String expressionText ) throws CDIException; ICValue evaluateExpressionToValue( String expressionText ) throws CDIException;
/** /**
* Evaluates the given expression. * Evaluates the expression specified by the given string.
* Returns the evaluation result as a String.
* *
* @param - expression to be evaluated * @param - expression string to be evaluated
* @return the result of the evaluation
* @throws CDIException if this method fails. Reasons include: * @throws CDIException if this method fails. Reasons include:
*/ */
void evaluateExpression( ICExpression expression ) throws CDIException; String evaluateExpressionToString( String expressionText ) throws CDIException;
/** /**
* Returns whether this target is terminated. * Returns whether this target is terminated.