Class GremlinSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
fr.inria.atlanmod.mogwai.gremlin.util.GremlinSwitch<T>

public class GremlinSwitch<T>
extends org.eclipse.emf.ecore.util.Switch<T>
The Switch for the model's inheritance hierarchy. It supports the call doSwitch(object) to invoke the caseXXX method for each class of the model, starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is returned, which is the result of the switch.
See Also:
GremlinPackage
  • Field Details

    • modelPackage

      protected static GremlinPackage modelPackage
      The cached model package
  • Constructor Details

    • GremlinSwitch

      public GremlinSwitch()
      Creates an instance of the switch.
  • Method Details

    • isSwitchFor

      protected boolean isSwitchFor​(org.eclipse.emf.ecore.EPackage ePackage)
      Checks whether this is a switch for the given package.
      Specified by:
      isSwitchFor in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      ePackage - the package in question.
      Returns:
      whether this is a switch for the given package.
    • doSwitch

      protected T doSwitch​(int classifierID, 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.
      Overrides:
      doSwitch in class org.eclipse.emf.ecore.util.Switch<T>
      Returns:
      the first non-null result returned by a caseXXX call.
    • caseGremlinScript

      public T caseGremlinScript​(GremlinScript object)
      Returns the result of interpreting the object as an instance of 'Script'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Script'.
      See Also:
      doSwitch(EObject)
    • caseInstruction

      public T caseInstruction​(Instruction object)
      Returns the result of interpreting the object as an instance of 'Instruction'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Instruction'.
      See Also:
      doSwitch(EObject)
    • caseReturnStatement

      public T caseReturnStatement​(ReturnStatement object)
      Returns the result of interpreting the object as an instance of 'Return Statement'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Return Statement'.
      See Also:
      doSwitch(EObject)
    • caseMethodDeclaration

      public T caseMethodDeclaration​(MethodDeclaration object)
      Returns the result of interpreting the object as an instance of 'Method Declaration'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Method Declaration'.
      See Also:
      doSwitch(EObject)
    • caseTypeDeclaration

      public T caseTypeDeclaration​(TypeDeclaration object)
      Returns the result of interpreting the object as an instance of 'Type Declaration'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Type Declaration'.
      See Also:
      doSwitch(EObject)
    • caseListDeclaration

      public T caseListDeclaration​(ListDeclaration object)
      Returns the result of interpreting the object as an instance of 'List Declaration'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'List Declaration'.
      See Also:
      doSwitch(EObject)
    • caseSetDeclaration

      public T caseSetDeclaration​(SetDeclaration object)
      Returns the result of interpreting the object as an instance of 'Set Declaration'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Set Declaration'.
      See Also:
      doSwitch(EObject)
    • caseSortedSetDeclaration

      public T caseSortedSetDeclaration​(SortedSetDeclaration object)
      Returns the result of interpreting the object as an instance of 'Sorted Set Declaration'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Sorted Set Declaration'.
      See Also:
      doSwitch(EObject)
    • caseVariableDeclaration

      public T caseVariableDeclaration​(VariableDeclaration object)
      Returns the result of interpreting the object as an instance of 'Variable Declaration'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Variable Declaration'.
      See Also:
      doSwitch(EObject)
    • caseTraversalElement

      public T caseTraversalElement​(TraversalElement object)
      Returns the result of interpreting the object as an instance of 'Traversal Element'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Traversal Element'.
      See Also:
      doSwitch(EObject)
    • caseCollectionDefinition

      public T caseCollectionDefinition​(CollectionDefinition object)
      Returns the result of interpreting the object as an instance of 'Collection Definition'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Collection Definition'.
      See Also:
      doSwitch(EObject)
    • caseClosure

      public T caseClosure​(Closure object)
      Returns the result of interpreting the object as an instance of 'Closure'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Closure'.
      See Also:
      doSwitch(EObject)
    • caseClosureIt

      public T caseClosureIt​(ClosureIt object)
      Returns the result of interpreting the object as an instance of 'Closure It'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Closure It'.
      See Also:
      doSwitch(EObject)
    • caseVariableAccess

      public T caseVariableAccess​(VariableAccess object)
      Returns the result of interpreting the object as an instance of 'Variable Access'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Variable Access'.
      See Also:
      doSwitch(EObject)
    • caseStep

      public T caseStep​(Step object)
      Returns the result of interpreting the object as an instance of 'Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Step'.
      See Also:
      doSwitch(EObject)
    • caseIdentityStep

      public T caseIdentityStep​(IdentityStep object)
      Returns the result of interpreting the object as an instance of 'Identity Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Identity Step'.
      See Also:
      doSwitch(EObject)
    • caseFillStep

      public T caseFillStep​(FillStep object)
      Returns the result of interpreting the object as an instance of 'Fill Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Fill Step'.
      See Also:
      doSwitch(EObject)
    • caseStartStep

      public T caseStartStep​(StartStep object)
      Returns the result of interpreting the object as an instance of 'Start Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Start Step'.
      See Also:
      doSwitch(EObject)
    • caseVerticesStep

      public T caseVerticesStep​(VerticesStep object)
      Returns the result of interpreting the object as an instance of 'Vertices Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Vertices Step'.
      See Also:
      doSwitch(EObject)
    • caseEdgesStep

      public T caseEdgesStep​(EdgesStep object)
      Returns the result of interpreting the object as an instance of 'Edges Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Edges Step'.
      See Also:
      doSwitch(EObject)
    • casePropertyStep

      public T casePropertyStep​(PropertyStep object)
      Returns the result of interpreting the object as an instance of 'Property Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Property Step'.
      See Also:
      doSwitch(EObject)
    • caseOutEStep

      public T caseOutEStep​(OutEStep object)
      Returns the result of interpreting the object as an instance of 'Out EStep'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Out EStep'.
      See Also:
      doSwitch(EObject)
    • caseInEStep

      public T caseInEStep​(InEStep object)
      Returns the result of interpreting the object as an instance of 'In EStep'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'In EStep'.
      See Also:
      doSwitch(EObject)
    • caseInVStep

      public T caseInVStep​(InVStep object)
      Returns the result of interpreting the object as an instance of 'In VStep'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'In VStep'.
      See Also:
      doSwitch(EObject)
    • caseOutVStep

      public T caseOutVStep​(OutVStep object)
      Returns the result of interpreting the object as an instance of 'Out VStep'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Out VStep'.
      See Also:
      doSwitch(EObject)
    • caseFilterStep

      public T caseFilterStep​(FilterStep object)
      Returns the result of interpreting the object as an instance of 'Filter Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Filter Step'.
      See Also:
      doSwitch(EObject)
    • caseRetainStep

      public T caseRetainStep​(RetainStep object)
      Returns the result of interpreting the object as an instance of 'Retain Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Retain Step'.
      See Also:
      doSwitch(EObject)
    • caseExceptStep

      public T caseExceptStep​(ExceptStep object)
      Returns the result of interpreting the object as an instance of 'Except Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Except Step'.
      See Also:
      doSwitch(EObject)
    • caseTransformStep

      public T caseTransformStep​(TransformStep object)
      Returns the result of interpreting the object as an instance of 'Transform Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Transform Step'.
      See Also:
      doSwitch(EObject)
    • caseGatherStep

      public T caseGatherStep​(GatherStep object)
      Returns the result of interpreting the object as an instance of 'Gather Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Gather Step'.
      See Also:
      doSwitch(EObject)
    • caseScatterStep

      public T caseScatterStep​(ScatterStep object)
      Returns the result of interpreting the object as an instance of 'Scatter Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Scatter Step'.
      See Also:
      doSwitch(EObject)
    • caseMethodCall

      public T caseMethodCall​(MethodCall object)
      Returns the result of interpreting the object as an instance of 'Method Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Method Call'.
      See Also:
      doSwitch(EObject)
    • caseCustomMethodCall

      public T caseCustomMethodCall​(CustomMethodCall object)
      Returns the result of interpreting the object as an instance of 'Custom Method Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Custom Method Call'.
      See Also:
      doSwitch(EObject)
    • caseNextCall

      public T caseNextCall​(NextCall object)
      Returns the result of interpreting the object as an instance of 'Next Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Next Call'.
      See Also:
      doSwitch(EObject)
    • caseHasNextCall

      public T caseHasNextCall​(HasNextCall object)
      Returns the result of interpreting the object as an instance of 'Has Next Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Has Next Call'.
      See Also:
      doSwitch(EObject)
    • caseIndexCall

      public T caseIndexCall​(IndexCall object)
      Returns the result of interpreting the object as an instance of 'Index Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Index Call'.
      See Also:
      doSwitch(EObject)
    • caseCountCall

      public T caseCountCall​(CountCall object)
      Returns the result of interpreting the object as an instance of 'Count Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Count Call'.
      See Also:
      doSwitch(EObject)
    • caseFirstCall

      public T caseFirstCall​(FirstCall object)
      Returns the result of interpreting the object as an instance of 'First Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'First Call'.
      See Also:
      doSwitch(EObject)
    • caseToListCall

      public T caseToListCall​(ToListCall object)
      Returns the result of interpreting the object as an instance of 'To List Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'To List Call'.
      See Also:
      doSwitch(EObject)
    • caseIsEmptyCall

      public T caseIsEmptyCall​(IsEmptyCall object)
      Returns the result of interpreting the object as an instance of 'Is Empty Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Is Empty Call'.
      See Also:
      doSwitch(EObject)
    • caseContainsCall

      public T caseContainsCall​(ContainsCall object)
      Returns the result of interpreting the object as an instance of 'Contains Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Contains Call'.
      See Also:
      doSwitch(EObject)
    • caseContainsAllCall

      public T caseContainsAllCall​(ContainsAllCall object)
      Returns the result of interpreting the object as an instance of 'Contains All Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Contains All Call'.
      See Also:
      doSwitch(EObject)
    • caseAddAllCall

      public T caseAddAllCall​(AddAllCall object)
      Returns the result of interpreting the object as an instance of 'Add All Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Add All Call'.
      See Also:
      doSwitch(EObject)
    • caseRetainAllCall

      public T caseRetainAllCall​(RetainAllCall object)
      Returns the result of interpreting the object as an instance of 'Retain All Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Retain All Call'.
      See Also:
      doSwitch(EObject)
    • caseUnionCall

      public T caseUnionCall​(UnionCall object)
      Returns the result of interpreting the object as an instance of 'Union Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Union Call'.
      See Also:
      doSwitch(EObject)
    • caseIntersectionCall

      public T caseIntersectionCall​(IntersectionCall object)
      Returns the result of interpreting the object as an instance of 'Intersection Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Intersection Call'.
      See Also:
      doSwitch(EObject)
    • caseSizeCall

      public T caseSizeCall​(SizeCall object)
      Returns the result of interpreting the object as an instance of 'Size Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Size Call'.
      See Also:
      doSwitch(EObject)
    • caseExpression

      public T caseExpression​(Expression object)
      Returns the result of interpreting the object as an instance of 'Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Expression'.
      See Also:
      doSwitch(EObject)
    • caseUnaryExpression

      public T caseUnaryExpression​(UnaryExpression object)
      Returns the result of interpreting the object as an instance of 'Unary Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Unary Expression'.
      See Also:
      doSwitch(EObject)
    • caseNotExpression

      public T caseNotExpression​(NotExpression object)
      Returns the result of interpreting the object as an instance of 'Not Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Not Expression'.
      See Also:
      doSwitch(EObject)
    • caseBinaryExpression

      public T caseBinaryExpression​(BinaryExpression object)
      Returns the result of interpreting the object as an instance of 'Binary Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Binary Expression'.
      See Also:
      doSwitch(EObject)
    • caseEqualityExpression

      public T caseEqualityExpression​(EqualityExpression object)
      Returns the result of interpreting the object as an instance of 'Equality Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Equality Expression'.
      See Also:
      doSwitch(EObject)
    • caseInExpression

      public T caseInExpression​(InExpression object)
      Returns the result of interpreting the object as an instance of 'In Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'In Expression'.
      See Also:
      doSwitch(EObject)
    • caseDifferenceExpression

      public T caseDifferenceExpression​(DifferenceExpression object)
      Returns the result of interpreting the object as an instance of 'Difference Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Difference Expression'.
      See Also:
      doSwitch(EObject)
    • caseOrExpression

      public T caseOrExpression​(OrExpression object)
      Returns the result of interpreting the object as an instance of 'Or Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Or Expression'.
      See Also:
      doSwitch(EObject)
    • caseAndExpression

      public T caseAndExpression​(AndExpression object)
      Returns the result of interpreting the object as an instance of 'And Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'And Expression'.
      See Also:
      doSwitch(EObject)
    • caseGreaterExpression

      public T caseGreaterExpression​(GreaterExpression object)
      Returns the result of interpreting the object as an instance of 'Greater Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Greater Expression'.
      See Also:
      doSwitch(EObject)
    • caseGreaterOrEqualExpression

      public T caseGreaterOrEqualExpression​(GreaterOrEqualExpression object)
      Returns the result of interpreting the object as an instance of 'Greater Or Equal Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Greater Or Equal Expression'.
      See Also:
      doSwitch(EObject)
    • caseLessExpression

      public T caseLessExpression​(LessExpression object)
      Returns the result of interpreting the object as an instance of 'Less Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Less Expression'.
      See Also:
      doSwitch(EObject)
    • caseLessOrEqualExpression

      public T caseLessOrEqualExpression​(LessOrEqualExpression object)
      Returns the result of interpreting the object as an instance of 'Less Or Equal Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Less Or Equal Expression'.
      See Also:
      doSwitch(EObject)
    • caseAffectationExpression

      public T caseAffectationExpression​(AffectationExpression object)
      Returns the result of interpreting the object as an instance of 'Affectation Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Affectation Expression'.
      See Also:
      doSwitch(EObject)
    • caseLeftShiftExpression

      public T caseLeftShiftExpression​(LeftShiftExpression object)
      Returns the result of interpreting the object as an instance of 'Left Shift Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Left Shift Expression'.
      See Also:
      doSwitch(EObject)
    • caseTernaryOperator

      public T caseTernaryOperator​(TernaryOperator object)
      Returns the result of interpreting the object as an instance of 'Ternary Operator'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ternary Operator'.
      See Also:
      doSwitch(EObject)
    • caseStringLiteral

      public T caseStringLiteral​(StringLiteral object)
      Returns the result of interpreting the object as an instance of 'String Literal'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'String Literal'.
      See Also:
      doSwitch(EObject)
    • caseIntegerLiteral

      public T caseIntegerLiteral​(IntegerLiteral object)
      Returns the result of interpreting the object as an instance of 'Integer Literal'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Integer Literal'.
      See Also:
      doSwitch(EObject)
    • caseDoubleLiteral

      public T caseDoubleLiteral​(DoubleLiteral object)
      Returns the result of interpreting the object as an instance of 'Double Literal'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Double Literal'.
      See Also:
      doSwitch(EObject)
    • caseBooleanLiteral

      public T caseBooleanLiteral​(BooleanLiteral object)
      Returns the result of interpreting the object as an instance of 'Boolean Literal'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Boolean Literal'.
      See Also:
      doSwitch(EObject)
    • caseNullLiteral

      public T caseNullLiteral​(NullLiteral object)
      Returns the result of interpreting the object as an instance of 'Null Literal'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Null Literal'.
      See Also:
      doSwitch(EObject)
    • caseToIntegerCall

      public T caseToIntegerCall​(ToIntegerCall object)
      Returns the result of interpreting the object as an instance of 'To Integer Call'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'To Integer Call'.
      See Also:
      doSwitch(EObject)
    • casePlusExpression

      public T casePlusExpression​(PlusExpression object)
      Returns the result of interpreting the object as an instance of 'Plus Expression'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Plus Expression'.
      See Also:
      doSwitch(EObject)
    • caseCustomStep

      public T caseCustomStep​(CustomStep object)
      Returns the result of interpreting the object as an instance of 'Custom Step'. This implementation returns null; returning a non-null result will terminate the switch.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Custom Step'.
      See Also:
      doSwitch(EObject)
    • defaultCase

      public T defaultCase​(org.eclipse.emf.ecore.EObject object)
      Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.
      Overrides:
      defaultCase in class org.eclipse.emf.ecore.util.Switch<T>
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'EObject'.
      See Also:
      Switch.doSwitch(org.eclipse.emf.ecore.EObject)