Package jadex.javaparser
Interface IParsedExpression
- All Known Implementing Classes:
ArgumentsNode,ArrayNode,BooleanNode,CastNode,CollectionNode,CompareNode,ConditionalNode,ConstantNode,ExpressionNode,MathNode,ParameterNode,ReflectNode,SelectionNode,SelectNode,TypeNode
public interface IParsedExpression
An expression, that can be evaluated in a given state.
-
Method Details
-
getExpressionText
String getExpressionText()Get the expression text.- Returns:
- The expression text.
-
getValue
Evaluate the expression in the given state with respect to given parameters.- Parameters:
params- The parameters (string, value pairs), if any.- Returns:
- The value of the term.
-
getStaticType
Class<?> getStaticType()Get the static type. If no information about the return type of an expression is available (e.g. because it depends on the evaluation context), the static type is null.- Returns:
- The static type.
-
getParameters
Get the parameters used in the expression.
-