public class DefaultTemplateProposalProvider.FollowElementAcceptor extends XtextSwitch<java.lang.Boolean> implements IFollowElementAcceptor
IFollowElementAcceptor.NullSafeElementAcceptor
modelPackage
Constructor and Description |
---|
DefaultTemplateProposalProvider.FollowElementAcceptor(java.util.Collection<org.eclipse.jface.text.templates.TemplateContextType> result) |
Modifier and Type | Method and Description |
---|---|
void |
accept(AbstractElement element) |
protected void |
addContextType(Keyword keyword) |
protected void |
addContextType(ParserRule rule) |
protected void |
addContextType(java.lang.String id) |
java.lang.Boolean |
caseAssignment(Assignment object)
Returns the result of interpreting the object as an instance of 'Assignment'
|
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 |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'
|
caseAbstractElement, caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAbstractRule, caseAction, caseAlternatives, caseCharacterRange, caseCompositeCondition, caseCompoundElement, caseCondition, caseConjunction, caseCrossReference, caseDisjunction, caseEnumLiteralDeclaration, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGrammar, caseGroup, caseLiteralCondition, caseNamedArgument, caseNegatedToken, caseNegation, caseParameter, caseParameterReference, caseReferencedMetamodel, caseTerminalRule, caseTypeRef, caseUnorderedGroup, caseUntilToken, caseWildcard, doSwitch, isSwitchFor
public DefaultTemplateProposalProvider.FollowElementAcceptor(java.util.Collection<org.eclipse.jface.text.templates.TemplateContextType> result)
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 caseKeyword(Keyword object)
XtextSwitch
caseKeyword
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 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 void accept(AbstractElement element)
accept
in interface IFollowElementAcceptor
protected void addContextType(ParserRule rule)
protected void addContextType(Keyword keyword)
protected void addContextType(java.lang.String id)