public class TerminalRuleInterpreter extends XtextSwitch<java.lang.Boolean>
modelPackage
Constructor and Description |
---|
TerminalRuleInterpreter(ICharSequenceWithOffset input,
IMarkerFactory markerFactory) |
TerminalRuleInterpreter(Keyword keyword) |
TerminalRuleInterpreter(java.lang.String input) |
TerminalRuleInterpreter(StringWithOffset input) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
caseAlternatives(Alternatives object)
Returns the result of interpreting the object as an instance of 'Alternatives'
|
java.lang.Boolean |
caseCharacterRange(CharacterRange object)
Returns the result of interpreting the object as an instance of 'Character Range'
|
java.lang.Boolean |
caseEOF(EOF object)
Returns the result of interpreting the object as an instance of 'EOF'
|
java.lang.Boolean |
caseGroup(Group object)
Returns the result of interpreting the object as an instance of 'Group'
|
java.lang.Boolean |
caseKeyword(Keyword object)
Returns the result of interpreting the object as an instance of 'Keyword'
|
java.lang.Boolean |
caseNegatedToken(NegatedToken object)
Returns the result of interpreting the object as an instance of 'Negated Token'
|
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'
|
java.lang.Boolean |
caseTerminalRule(TerminalRule object)
Returns the result of interpreting the object as an instance of 'Terminal Rule'
|
java.lang.Boolean |
caseUntilToken(UntilToken object)
Returns the result of interpreting the object as an instance of 'Until Token'
|
java.lang.Boolean |
caseWildcard(Wildcard object)
Returns the result of interpreting the object as an instance of 'Wildcard'
|
java.lang.Boolean |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'
|
boolean |
matches(TerminalRule rule) |
caseAbstractElement, caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseAction, caseAssignment, caseCompoundElement, caseCrossReference, caseEnumLiteralDeclaration, caseEnumRule, caseGeneratedMetamodel, caseGrammar, caseReferencedMetamodel, caseTypeRef, caseUnorderedGroup, doSwitch, isSwitchFor
public TerminalRuleInterpreter(Keyword keyword)
public TerminalRuleInterpreter(java.lang.String input)
public TerminalRuleInterpreter(StringWithOffset input)
public TerminalRuleInterpreter(ICharSequenceWithOffset input, IMarkerFactory markerFactory)
public boolean matches(TerminalRule rule)
public java.lang.Boolean caseAlternatives(Alternatives object)
XtextSwitch
caseAlternatives
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseCharacterRange(CharacterRange object)
XtextSwitch
caseCharacterRange
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean defaultCase(org.eclipse.emf.ecore.EObject object)
XtextSwitch
defaultCase
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)
public java.lang.Boolean caseGroup(Group object)
XtextSwitch
caseGroup
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseKeyword(Keyword object)
XtextSwitch
caseKeyword
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseWildcard(Wildcard object)
XtextSwitch
caseWildcard
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseEOF(EOF object)
XtextSwitch
caseEOF
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseTerminalRule(TerminalRule object)
XtextSwitch
caseTerminalRule
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 caseRuleCall(RuleCall object)
XtextSwitch
caseRuleCall
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseUntilToken(UntilToken object)
XtextSwitch
caseUntilToken
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseNegatedToken(NegatedToken object)
XtextSwitch
caseNegatedToken
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)