public class ConditionEvaluator extends XtextSwitch<Boolean>
modelPackage| Constructor and Description |
|---|
ConditionEvaluator(Set<Parameter> paramValues) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
caseConjunction(Conjunction object)
Returns the result of interpreting the object as an instance of 'Conjunction'
|
Boolean |
caseDisjunction(Disjunction object)
Returns the result of interpreting the object as an instance of 'Disjunction'
|
Boolean |
caseLiteralCondition(LiteralCondition object)
Returns the result of interpreting the object as an instance of 'Literal Condition'
|
Boolean |
caseNegation(Negation object)
Returns the result of interpreting the object as an instance of 'Negation'
|
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, 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 boolean evaluate(Condition condition)
public Boolean caseDisjunction(Disjunction object)
XtextSwitchcaseDisjunction in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseConjunction(Conjunction object)
XtextSwitchcaseConjunction in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseNegation(Negation object)
XtextSwitchcaseNegation in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseParameterReference(ParameterReference object)
XtextSwitchcaseParameterReference in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)public Boolean caseLiteralCondition(LiteralCondition object)
XtextSwitchcaseLiteralCondition in class XtextSwitch<Boolean>object - the target of the switch.doSwitch(EObject)Copyright © 2015. All Rights Reserved.