1 11 package org.eclipse.core.internal.expressions; 12 13 import org.eclipse.core.runtime.CoreException; 14 15 import org.eclipse.core.expressions.EvaluationResult; 16 import org.eclipse.core.expressions.IEvaluationContext; 17 18 public class OrExpression extends CompositeExpression { 19 20 public EvaluationResult evaluate(IEvaluationContext context) throws CoreException { 21 return evaluateOr(context); 22 } 23 24 public boolean equals(final Object object) { 25 if (!(object instanceof OrExpression)) 26 return false; 27 28 final OrExpression that= (OrExpression)object; 29 return equals(this.fExpressions, that.fExpressions); 30 } 31 } 32 | Popular Tags |