org.eclipse.xtext.ui.editor.contentassist.antlr
Class ParserBasedContentAssistContextFactory.CallHierarchyHelper

java.lang.Object
  extended by org.eclipse.xtext.util.XtextSwitch<java.lang.Boolean>
      extended by org.eclipse.xtext.ui.editor.contentassist.antlr.ParserBasedContentAssistContextFactory.CallHierarchyHelper
Enclosing class:
ParserBasedContentAssistContextFactory

public static class ParserBasedContentAssistContextFactory.CallHierarchyHelper
extends XtextSwitch<java.lang.Boolean>

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
 
Fields inherited from class org.eclipse.xtext.util.XtextSwitch
modelPackage
 
Constructor Summary
ParserBasedContentAssistContextFactory.CallHierarchyHelper(org.eclipse.emf.ecore.EObject nextGrammarElement, java.lang.String previousText, org.eclipse.emf.ecore.EObject previousGrammarElement)
           
 
Method Summary
 java.lang.Boolean caseAbstractElement(AbstractElement object)
          Returns the result of interpreting the object as an instance of 'Abstract Element'
 java.lang.Boolean caseAbstractRule(AbstractRule object)
          Returns the result of interpreting the object as an instance of 'Abstract Rule'
 java.lang.Boolean caseAlternatives(Alternatives object)
          Returns the result of interpreting the object as an instance of 'Alternatives'
 java.lang.Boolean caseAlternatives(java.util.List<AbstractElement> elements)
           
 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 caseGroup(Group object)
          Returns the result of interpreting the object as an instance of 'Group'
 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'
protected  boolean isExpectedGrammarElement(org.eclipse.emf.ecore.EObject object)
           
 
Methods inherited from class org.eclipse.xtext.util.XtextSwitch
caseAbstractMetamodelDeclaration, caseAbstractNegatedToken, caseAction, caseCharacterRange, caseCompoundElement, caseEnumRule, caseEOF, caseGeneratedMetamodel, caseGrammar, caseKeyword, caseNegatedToken, caseParserRule, caseReferencedMetamodel, caseTypeRef, caseUntilToken, caseWildcard, defaultCase, doSwitch, doSwitch, doSwitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserBasedContentAssistContextFactory.CallHierarchyHelper

public ParserBasedContentAssistContextFactory.CallHierarchyHelper(org.eclipse.emf.ecore.EObject nextGrammarElement,
                                                                  java.lang.String previousText,
                                                                  org.eclipse.emf.ecore.EObject previousGrammarElement)
Method Detail

caseAbstractRule

public java.lang.Boolean caseAbstractRule(AbstractRule object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Abstract Rule'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseAbstractRule in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Abstract Rule'.
See Also:
doSwitch(EObject)

isExpectedGrammarElement

protected boolean isExpectedGrammarElement(org.eclipse.emf.ecore.EObject object)

caseTerminalRule

public java.lang.Boolean caseTerminalRule(TerminalRule object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Terminal Rule'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseTerminalRule in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Terminal Rule'.
See Also:
doSwitch(EObject)

caseGroup

public java.lang.Boolean caseGroup(Group object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Group'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseGroup in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Group'.
See Also:
doSwitch(EObject)

caseUnorderedGroup

public java.lang.Boolean caseUnorderedGroup(UnorderedGroup object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Unordered Group'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseUnorderedGroup in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Unordered Group'.
See Also:
doSwitch(EObject)

caseAlternatives

public java.lang.Boolean caseAlternatives(Alternatives object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Alternatives'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseAlternatives in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Alternatives'.
See Also:
doSwitch(EObject)

caseAlternatives

public java.lang.Boolean caseAlternatives(java.util.List<AbstractElement> elements)

caseAbstractElement

public java.lang.Boolean caseAbstractElement(AbstractElement object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Abstract Element'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseAbstractElement in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Abstract Element'.
See Also:
doSwitch(EObject)

caseAssignment

public java.lang.Boolean caseAssignment(Assignment object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Assignment'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseAssignment in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Assignment'.
See Also:
doSwitch(EObject)

caseCrossReference

public java.lang.Boolean caseCrossReference(CrossReference object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Cross Reference'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseCrossReference in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Cross Reference'.
See Also:
doSwitch(EObject)

caseRuleCall

public java.lang.Boolean caseRuleCall(RuleCall object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Rule Call'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseRuleCall in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Rule Call'.
See Also:
doSwitch(EObject)

caseEnumLiteralDeclaration

public java.lang.Boolean caseEnumLiteralDeclaration(EnumLiteralDeclaration object)
Description copied from class: XtextSwitch
Returns the result of interpreting the object as an instance of 'Enum Literal Declaration'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseEnumLiteralDeclaration in class XtextSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Enum Literal Declaration'.
See Also:
doSwitch(EObject)