public static class ParserBasedContentAssistContextFactory.FollowElementCalculator extends XtextSwitch<java.lang.Boolean>
Modifier and Type | Field and Description |
---|---|
protected IFollowElementAcceptor |
acceptor |
modelPackage
Constructor and Description |
---|
ParserBasedContentAssistContextFactory.FollowElementCalculator() |
Modifier and Type | Method and Description |
---|---|
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 |
caseCrossReference(CrossReference object)
Returns the result of interpreting the object as an instance of 'Cross Reference'
|
java.lang.Boolean |
caseEnumLiteralDeclaration(EnumLiteralDeclaration object)
Returns the result of interpreting the object as an instance of 'Enum Literal Declaration'
|
java.lang.Boolean |
caseEnumRule(EnumRule object)
Returns the result of interpreting the object as an instance of 'Enum Rule'
|
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 |
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 |
caseUnorderedGroup(UnorderedGroup object)
Returns the result of interpreting the object as an instance of 'Unordered Group'
|
void |
doSwitch(UnorderedGroup group,
java.util.List<AbstractElement> handledAlternatives) |
boolean |
isOptional(AbstractElement element) |
caseAbstractElement, caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseCharacterRange, caseCompoundElement, caseEOF, caseGeneratedMetamodel, caseGrammar, caseNegatedToken, caseReferencedMetamodel, caseTypeRef, caseUntilToken, caseWildcard, defaultCase, doSwitch, isSwitchFor
protected IFollowElementAcceptor acceptor
public ParserBasedContentAssistContextFactory.FollowElementCalculator()
public void doSwitch(UnorderedGroup group, java.util.List<AbstractElement> handledAlternatives)
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 caseUnorderedGroup(UnorderedGroup object)
XtextSwitch
caseUnorderedGroup
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(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 caseAction(Action object)
XtextSwitch
caseAction
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 caseCrossReference(CrossReference object)
XtextSwitch
caseCrossReference
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 caseEnumRule(EnumRule object)
XtextSwitch
caseEnumRule
in class XtextSwitch<java.lang.Boolean>
object
- the target of the switch.doSwitch(EObject)
public java.lang.Boolean caseEnumLiteralDeclaration(EnumLiteralDeclaration object)
XtextSwitch
caseEnumLiteralDeclaration
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 caseTerminalRule(TerminalRule object)
XtextSwitch
caseTerminalRule
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 boolean isOptional(AbstractElement element)