public class UsedRulesFinder extends XtextSwitch<java.lang.Void>
modelPackage| Constructor and Description |
|---|
UsedRulesFinder(java.util.Collection<AbstractRule> usedRules) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Void |
caseAbstractNegatedToken(AbstractNegatedToken object)
Returns the result of interpreting the object as an instance of 'Abstract Negated Token'.
|
java.lang.Void |
caseAbstractRule(AbstractRule object)
Returns the result of interpreting the object as an instance of 'Abstract Rule'.
|
java.lang.Void |
caseAssignment(Assignment object)
Returns the result of interpreting the object as an instance of 'Assignment'.
|
java.lang.Void |
caseCompoundElement(CompoundElement object)
Returns the result of interpreting the object as an instance of 'Compound Element'.
|
java.lang.Void |
caseCrossReference(CrossReference object)
Returns the result of interpreting the object as an instance of 'Cross Reference'.
|
java.lang.Void |
caseGrammar(Grammar object)
Returns the result of interpreting the object as an instance of 'Grammar'.
|
java.lang.Void |
caseParserRule(ParserRule object)
Returns the result of interpreting the object as an instance of 'Parser Rule'.
|
java.lang.Void |
caseRuleCall(RuleCall object)
Returns the result of interpreting the object as an instance of 'Rule Call'.
|
java.lang.Void |
caseTerminalRule(TerminalRule object)
Returns the result of interpreting the object as an instance of 'Terminal Rule'.
|
void |
compute(Grammar grammar) |
caseAbstractElement, caseAbstractMetamodelDeclaration, caseAction, caseAlternatives, caseAnnotation, caseCharacterRange, caseCompositeCondition, caseCondition, caseConjunction, caseDisjunction, caseEnumLiteralDeclaration, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGroup, caseKeyword, caseLiteralCondition, caseNamedArgument, caseNegatedToken, caseNegation, caseParameter, caseParameterReference, caseReferencedMetamodel, caseTypeRef, caseUnorderedGroup, caseUntilToken, caseWildcard, defaultCase, doSwitch, isSwitchForpublic UsedRulesFinder(java.util.Collection<AbstractRule> usedRules)
public java.lang.Void caseAbstractRule(AbstractRule object)
XtextSwitchcaseAbstractRule in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseParserRule(ParserRule object)
XtextSwitchcaseParserRule in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseTerminalRule(TerminalRule object)
XtextSwitchcaseTerminalRule in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseAbstractNegatedToken(AbstractNegatedToken object)
XtextSwitchcaseAbstractNegatedToken in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseRuleCall(RuleCall object)
XtextSwitchcaseRuleCall in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseCrossReference(CrossReference object)
XtextSwitchcaseCrossReference in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseAssignment(Assignment object)
XtextSwitchcaseAssignment in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseCompoundElement(CompoundElement object)
XtextSwitchcaseCompoundElement in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public java.lang.Void caseGrammar(Grammar object)
XtextSwitchcaseGrammar in class XtextSwitch<java.lang.Void>object - the target of the switch.doSwitch(EObject)public void compute(Grammar grammar)