public class ConditionEvaluator extends XtextSwitch<java.lang.Boolean>
modelPackage| Constructor and Description |
|---|
ConditionEvaluator(java.util.Set<Parameter> paramValues) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
caseConjunction(Conjunction object)
Returns the result of interpreting the object as an instance of 'Conjunction'.
|
java.lang.Boolean |
caseDisjunction(Disjunction object)
Returns the result of interpreting the object as an instance of 'Disjunction'.
|
java.lang.Boolean |
caseLiteralCondition(LiteralCondition object)
Returns the result of interpreting the object as an instance of 'Literal Condition'.
|
java.lang.Boolean |
caseNegation(Negation object)
Returns the result of interpreting the object as an instance of 'Negation'.
|
java.lang.Boolean |
caseParameterReference(ParameterReference object)
Returns the result of interpreting the object as an instance of 'Parameter Reference'.
|
boolean |
evaluate(Condition condition) |
caseAbstractElement, caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseAction, caseAlternatives, caseAnnotation, caseAssignment, caseCharacterRange, caseCompositeCondition, caseCompoundElement, caseCondition, caseCrossReference, caseEnumLiteralDeclaration, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGrammar, caseGroup, caseKeyword, caseNamedArgument, caseNegatedToken, caseParameter, caseParserRule, caseReferencedMetamodel, caseRuleCall, caseTerminalRule, caseTypeRef, caseUnorderedGroup, caseUntilToken, caseWildcard, defaultCase, doSwitch, isSwitchForpublic ConditionEvaluator(java.util.Set<Parameter> paramValues)
public boolean evaluate(Condition condition)
public java.lang.Boolean caseDisjunction(Disjunction object)
XtextSwitchcaseDisjunction in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseConjunction(Conjunction object)
XtextSwitchcaseConjunction in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseNegation(Negation object)
XtextSwitchcaseNegation in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseParameterReference(ParameterReference object)
XtextSwitchcaseParameterReference in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)public java.lang.Boolean caseLiteralCondition(LiteralCondition object)
XtextSwitchcaseLiteralCondition in class XtextSwitch<java.lang.Boolean>object - the target of the switch.doSwitch(EObject)