Package org.eclipse.core.expressions
Class OrExpression
- java.lang.Object
-
- org.eclipse.core.expressions.Expression
-
- org.eclipse.core.expressions.CompositeExpression
-
- org.eclipse.core.expressions.OrExpression
-
public class OrExpression extends CompositeExpression
- Since:
- 3.7
-
-
Field Summary
-
Fields inherited from class org.eclipse.core.expressions.CompositeExpression
fExpressions
-
Fields inherited from class org.eclipse.core.expressions.Expression
ATT_VALUE, FALSE, HASH_CODE_NOT_COMPUTED, HASH_FACTOR, TRUE
-
-
Constructor Summary
Constructors Constructor Description OrExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
EvaluationResult
evaluate(IEvaluationContext context)
Evaluates this expression.-
Methods inherited from class org.eclipse.core.expressions.CompositeExpression
add, collectExpressionInfo, computeHashCode, evaluateAnd, evaluateOr, getChildren, toString
-
Methods inherited from class org.eclipse.core.expressions.Expression
computeExpressionInfo, equals, equals, hashCode, hashCode, hashCode
-
-
-
-
Method Detail
-
evaluate
public EvaluationResult evaluate(IEvaluationContext context) throws CoreException
Description copied from class:Expression
Evaluates this expression.- Specified by:
evaluate
in classExpression
- Parameters:
context
- an evaluation context providing information like variable, name spaces, etc. necessary to evaluate this expression- Returns:
- the result of the expression evaluation
- Throws:
CoreException
- if the evaluation failed. The concrete reason is defined by the subclass implementing this method
-
-