public static class CurrentTypeFinder.Implementation extends XtextSwitch<java.lang.Boolean>
modelPackage
Constructor and Description |
---|
CurrentTypeFinder.Implementation() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
caseAbstractElement(AbstractElement object)
Returns the result of interpreting the object as an instance of 'Abstract Element'
|
java.lang.Boolean |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'
|
java.lang.Boolean |
caseAlternatives(Alternatives object)
Returns the result of interpreting the object as an instance of 'Alternatives'
|
java.lang.Boolean |
caseAssignment(Assignment object)
Returns the result of interpreting the object as an instance of 'Assignment'
|
java.lang.Boolean |
caseCompoundElement(CompoundElement object)
Returns the result of interpreting the object as an instance of 'Compound Element'
|
java.lang.Boolean |
caseCrossReference(CrossReference object)
Returns the result of interpreting the object as an instance of 'Cross Reference'
|
java.lang.Boolean |
caseParserRule(ParserRule object)
Returns the result of interpreting the object as an instance of 'Parser Rule'
|
java.lang.Boolean |
caseRuleCall(RuleCall object)
Returns the result of interpreting the object as an instance of 'Rule Call'
|
void |
computeResult(AbstractRule rule,
AbstractElement element) |
protected org.eclipse.emf.ecore.EClassifier |
getCompatibleType(org.eclipse.emf.ecore.EClassifier a,
org.eclipse.emf.ecore.EClassifier b,
org.eclipse.emf.ecore.EObject context) |
org.eclipse.emf.ecore.EClassifier |
getResult() |
caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseCharacterRange, caseEnumLiteralDeclaration, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGrammar, caseGroup, caseKeyword, caseNegatedToken, caseReferencedMetamodel, caseTerminalRule, caseTypeRef, caseUnorderedGroup, caseUntilToken, caseWildcard, defaultCase, doSwitch, isSwitchFor
public org.eclipse.emf.ecore.EClassifier getResult()
public void computeResult(AbstractRule rule, AbstractElement element)
public java.lang.Boolean caseAbstractElement(AbstractElement object)
XtextSwitch
caseAbstractElement
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseAction(Action object)
XtextSwitch
caseAction
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseParserRule(ParserRule object)
XtextSwitch
caseParserRule
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseAssignment(Assignment object)
XtextSwitch
caseAssignment
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseCompoundElement(CompoundElement object)
XtextSwitch
caseCompoundElement
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseCrossReference(CrossReference object)
XtextSwitch
caseCrossReference
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseRuleCall(RuleCall object)
XtextSwitch
caseRuleCall
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
protected org.eclipse.emf.ecore.EClassifier getCompatibleType(org.eclipse.emf.ecore.EClassifier a, org.eclipse.emf.ecore.EClassifier b, org.eclipse.emf.ecore.EObject context)
public java.lang.Boolean caseAlternatives(Alternatives object)
XtextSwitch
caseAlternatives
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)