|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtext.util.XtextSwitch<java.lang.String>
org.eclipse.xtext.grammaranalysis.impl.GrammarElementTitleSwitch
public class GrammarElementTitleSwitch
| Nested Class Summary | |
|---|---|
protected static class |
GrammarElementTitleSwitch.Node
|
| Field Summary | |
|---|---|
protected boolean |
showActionAsRuleCall
|
protected boolean |
showAssignment
|
protected boolean |
showCardinality
|
protected boolean |
showQualified
|
protected boolean |
showRule
|
protected java.lang.String |
valueForNull
|
| Fields inherited from class org.eclipse.xtext.util.XtextSwitch |
|---|
modelPackage |
| Constructor Summary | |
|---|---|
GrammarElementTitleSwitch()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
addAssignemnt(java.lang.String result,
AbstractElement ele)
|
protected java.lang.String |
addCrossRef(java.lang.String result,
AbstractElement ele)
|
protected java.lang.String |
addCrossRefOrAssignemnt(java.lang.String result,
AbstractElement ele)
|
protected java.lang.String |
addQualified(java.lang.String result,
AbstractElement ele)
|
java.lang.String |
apply(AbstractElement from)
|
protected java.lang.String |
card(AbstractElement ele)
|
java.lang.String |
caseAbstractElement(AbstractElement object)
Returns the result of interpreting the object as an instance of 'Abstract Element'. |
java.lang.String |
caseAbstractRule(AbstractRule object)
Returns the result of interpreting the object as an instance of 'Abstract Rule'. |
java.lang.String |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'. |
java.lang.String |
caseAlternatives(Alternatives object)
Returns the result of interpreting the object as an instance of 'Alternatives'. |
java.lang.String |
caseAssignment(Assignment object)
Returns the result of interpreting the object as an instance of 'Assignment'. |
java.lang.String |
caseCrossReference(CrossReference object)
Returns the result of interpreting the object as an instance of 'Cross Reference'. |
java.lang.String |
caseGroup(Group object)
Returns the result of interpreting the object as an instance of 'Group'. |
java.lang.String |
caseKeyword(Keyword object)
Returns the result of interpreting the object as an instance of 'Keyword'. |
java.lang.String |
caseRuleCall(RuleCall object)
Returns the result of interpreting the object as an instance of 'Rule Call'. |
java.lang.String |
caseUnorderedGroup(UnorderedGroup object)
Returns the result of interpreting the object as an instance of 'Unordered Group'. |
protected GrammarElementTitleSwitch |
copy()
|
java.lang.String |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
java.lang.String |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
GrammarElementTitleSwitch |
hideCardinality()
|
GrammarElementTitleSwitch |
setValueForNull(java.lang.String value)
|
GrammarElementTitleSwitch |
showActionsAsRuleCalls()
|
GrammarElementTitleSwitch |
showAssignments()
|
GrammarElementTitleSwitch |
showQualified()
|
GrammarElementTitleSwitch |
showRule()
|
| Methods inherited from class org.eclipse.xtext.util.XtextSwitch |
|---|
caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseCharacterRange, caseCompoundElement, caseEnumLiteralDeclaration, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGrammar, caseNegatedToken, caseParserRule, caseReferencedMetamodel, caseTerminalRule, caseTypeRef, caseUntilToken, caseWildcard, doSwitch, doSwitch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Function |
|---|
equals |
| Field Detail |
|---|
protected boolean showActionAsRuleCall
protected boolean showAssignment
protected boolean showCardinality
protected boolean showQualified
protected boolean showRule
protected java.lang.String valueForNull
| Constructor Detail |
|---|
public GrammarElementTitleSwitch()
| Method Detail |
|---|
protected java.lang.String addAssignemnt(java.lang.String result,
AbstractElement ele)
protected java.lang.String addCrossRef(java.lang.String result,
AbstractElement ele)
protected java.lang.String addCrossRefOrAssignemnt(java.lang.String result,
AbstractElement ele)
protected java.lang.String addQualified(java.lang.String result,
AbstractElement ele)
public java.lang.String apply(AbstractElement from)
apply in interface com.google.common.base.Function<AbstractElement,java.lang.String>protected java.lang.String card(AbstractElement ele)
public java.lang.String caseAbstractElement(AbstractElement object)
XtextSwitch
caseAbstractElement in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseAbstractRule(AbstractRule object)
XtextSwitch
caseAbstractRule in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseAction(Action object)
XtextSwitch
caseAction in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseAlternatives(Alternatives object)
XtextSwitch
caseAlternatives in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseAssignment(Assignment object)
XtextSwitch
caseAssignment in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseCrossReference(CrossReference object)
XtextSwitch
caseCrossReference in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseGroup(Group object)
XtextSwitch
caseGroup in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseKeyword(Keyword object)
XtextSwitch
caseKeyword in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseRuleCall(RuleCall object)
XtextSwitch
caseRuleCall in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)public java.lang.String caseUnorderedGroup(UnorderedGroup object)
XtextSwitch
caseUnorderedGroup in class XtextSwitch<java.lang.String>object - the target of the switch.
doSwitch(EObject)protected GrammarElementTitleSwitch copy()
public java.lang.String defaultCase(org.eclipse.emf.ecore.EObject object)
XtextSwitch
defaultCase in class XtextSwitch<java.lang.String>object - the target of the switch.
XtextSwitch.doSwitch(org.eclipse.emf.ecore.EObject)public java.lang.String doSwitch(org.eclipse.emf.ecore.EObject theEObject)
XtextSwitchcaseXXX for each class of the model until one returns a non null result; it yields that result.
doSwitch in class XtextSwitch<java.lang.String>caseXXX call.public GrammarElementTitleSwitch hideCardinality()
public GrammarElementTitleSwitch setValueForNull(java.lang.String value)
public GrammarElementTitleSwitch showActionsAsRuleCalls()
public GrammarElementTitleSwitch showAssignments()
public GrammarElementTitleSwitch showQualified()
public GrammarElementTitleSwitch showRule()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||