Class BslSwitch<T>

java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
com._1c.g5.v8.dt.bsl.model.util.BslSwitch<T>

public class BslSwitch<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:
  • Field Details

    • modelPackage

      protected static BslPackage modelPackage
      The cached model package
  • Constructor Details

    • BslSwitch

      public BslSwitch()
      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.
    • caseModule

      public T caseModule(Module object)
      Returns the result of interpreting the object as an instance of 'Module'. 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 'Module'.
      See Also:
      • doSwitch(EObject)
    • caseBlock

      public T caseBlock(Block object)
      Returns the result of interpreting the object as an instance of 'Block'. 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 'Block'.
      See Also:
      • doSwitch(EObject)
    • casePragmaTarget

      public T casePragmaTarget(PragmaTarget object)
      Returns the result of interpreting the object as an instance of 'Pragma Target'. 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 'Pragma Target'.
      See Also:
      • doSwitch(EObject)
    • casePragma

      public T casePragma(Pragma object)
      Returns the result of interpreting the object as an instance of 'Pragma'. 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 'Pragma'.
      See Also:
      • doSwitch(EObject)
    • caseDeclareStatement

      public T caseDeclareStatement(DeclareStatement object)
      Returns the result of interpreting the object as an instance of 'Declare 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 'Declare Statement'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessor

      public T casePreprocessor(Preprocessor object)
      Returns the result of interpreting the object as an instance of 'Preprocessor'. 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 'Preprocessor'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorItem

      public T casePreprocessorItem(PreprocessorItem object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Item'. 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 'Preprocessor Item'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorItemDeclareStatement

      public T casePreprocessorItemDeclareStatement(PreprocessorItemDeclareStatement object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Item Declare 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 'Preprocessor Item Declare Statement'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorItemStatements

      public T casePreprocessorItemStatements(PreprocessorItemStatements object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Item Statements'. 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 'Preprocessor Item Statements'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorItemExpression

      public T casePreprocessorItemExpression(PreprocessorItemExpression object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Item 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 'Preprocessor Item Expression'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorItemMethodStatement

      public T casePreprocessorItemMethodStatement(PreprocessorItemMethodStatement object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Item Method 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 'Preprocessor Item Method Statement'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorItemModule

      public T casePreprocessorItemModule(PreprocessorItemModule object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Item Module'. 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 'Preprocessor Item Module'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorItemAllTypeStatements

      public T casePreprocessorItemAllTypeStatements(PreprocessorItemAllTypeStatements object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Item All Type Statements'. 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 'Preprocessor Item All Type Statements'.
      See Also:
      • doSwitch(EObject)
    • caseRegionPreprocessor

      public T caseRegionPreprocessor(RegionPreprocessor object)
      Returns the result of interpreting the object as an instance of 'Region Preprocessor'. 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 'Region Preprocessor'.
      See Also:
      • doSwitch(EObject)
    • caseRegionPreprocessorDeclareStatement

      public T caseRegionPreprocessorDeclareStatement(RegionPreprocessorDeclareStatement object)
      Returns the result of interpreting the object as an instance of 'Region Preprocessor Declare 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 'Region Preprocessor Declare Statement'.
      See Also:
      • doSwitch(EObject)
    • caseRegionPreprocessorStatement

      public T caseRegionPreprocessorStatement(RegionPreprocessorStatement object)
      Returns the result of interpreting the object as an instance of 'Region Preprocessor 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 'Region Preprocessor Statement'.
      See Also:
      • doSwitch(EObject)
    • caseRegionPreprocessorExpression

      public T caseRegionPreprocessorExpression(RegionPreprocessorExpression object)
      Returns the result of interpreting the object as an instance of 'Region Preprocessor 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 'Region Preprocessor Expression'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorExpression

      public T casePreprocessorExpression(PreprocessorExpression object)
      Returns the result of interpreting the object as an instance of 'Preprocessor 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 'Preprocessor Expression'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorIfConditional

      public T casePreprocessorIfConditional(PreprocessorIfConditional object)
      Returns the result of interpreting the object as an instance of 'Preprocessor If Conditional'. 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 'Preprocessor If Conditional'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorConditional

      public T casePreprocessorConditional(PreprocessorConditional object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Conditional'. 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 'Preprocessor Conditional'.
      See Also:
      • doSwitch(EObject)
    • caseIfPreprocessor

      public T caseIfPreprocessor(IfPreprocessor object)
      Returns the result of interpreting the object as an instance of 'If Preprocessor'. 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 'If Preprocessor'.
      See Also:
      • doSwitch(EObject)
    • caseIfPreprocessorDeclareStatement

      public T caseIfPreprocessorDeclareStatement(IfPreprocessorDeclareStatement object)
      Returns the result of interpreting the object as an instance of 'If Preprocessor Declare 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 'If Preprocessor Declare Statement'.
      See Also:
      • doSwitch(EObject)
    • caseIfPreprocessorStatement

      public T caseIfPreprocessorStatement(IfPreprocessorStatement object)
      Returns the result of interpreting the object as an instance of 'If Preprocessor 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 'If Preprocessor Statement'.
      See Also:
      • doSwitch(EObject)
    • caseIfPreprocessorExpression

      public T caseIfPreprocessorExpression(IfPreprocessorExpression object)
      Returns the result of interpreting the object as an instance of 'If Preprocessor 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 'If Preprocessor Expression'.
      See Also:
      • doSwitch(EObject)
    • casePreprocessorLiteralExpression

      public T casePreprocessorLiteralExpression(PreprocessorLiteralExpression object)
      Returns the result of interpreting the object as an instance of 'Preprocessor Literal 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 'Preprocessor Literal Expression'.
      See Also:
      • doSwitch(EObject)
    • caseBinaryPreprocessorExpression

      public T caseBinaryPreprocessorExpression(BinaryPreprocessorExpression object)
      Returns the result of interpreting the object as an instance of 'Binary Preprocessor 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 Preprocessor Expression'.
      See Also:
      • doSwitch(EObject)
    • caseUnaryPreprocessorExpression

      public T caseUnaryPreprocessorExpression(UnaryPreprocessorExpression object)
      Returns the result of interpreting the object as an instance of 'Unary Preprocessor 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 Preprocessor Expression'.
      See Also:
      • doSwitch(EObject)
    • caseBracketPreprocessorExpression

      public T caseBracketPreprocessorExpression(BracketPreprocessorExpression object)
      Returns the result of interpreting the object as an instance of 'Bracket Preprocessor 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 'Bracket Preprocessor Expression'.
      See Also:
      • doSwitch(EObject)
    • caseVariable

      public T caseVariable(Variable object)
      Returns the result of interpreting the object as an instance of 'Variable'. 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'.
      See Also:
      • doSwitch(EObject)
    • caseExplicitVariable

      public T caseExplicitVariable(ExplicitVariable object)
      Returns the result of interpreting the object as an instance of 'Explicit Variable'. 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 'Explicit Variable'.
      See Also:
      • doSwitch(EObject)
    • caseImplicitVariable

      public T caseImplicitVariable(ImplicitVariable object)
      Returns the result of interpreting the object as an instance of 'Implicit Variable'. 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 'Implicit Variable'.
      See Also:
      • doSwitch(EObject)
    • caseMethod

      public T caseMethod(Method object)
      Returns the result of interpreting the object as an instance of 'Method'. 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'.
      See Also:
      • doSwitch(EObject)
    • caseProcedure

      public T caseProcedure(Procedure object)
      Returns the result of interpreting the object as an instance of 'Procedure'. 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 'Procedure'.
      See Also:
      • doSwitch(EObject)
    • caseFunction

      public T caseFunction(Function object)
      Returns the result of interpreting the object as an instance of 'Function'. 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 'Function'.
      See Also:
      • doSwitch(EObject)
    • caseFormalParam

      public T caseFormalParam(FormalParam object)
      Returns the result of interpreting the object as an instance of 'Formal Param'. 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 'Formal Param'.
      See Also:
      • doSwitch(EObject)
    • caseLabel

      public T caseLabel(Label object)
      Returns the result of interpreting the object as an instance of 'Label'. 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 'Label'.
      See Also:
      • doSwitch(EObject)
    • caseStatement

      public T caseStatement(Statement object)
      Returns the result of interpreting the object as an instance of '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 'Statement'.
      See Also:
      • doSwitch(EObject)
    • caseLabeledStatement

      public T caseLabeledStatement(LabeledStatement object)
      Returns the result of interpreting the object as an instance of 'Labeled 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 'Labeled Statement'.
      See Also:
      • doSwitch(EObject)
    • caseUnlabeledStatement

      public T caseUnlabeledStatement(UnlabeledStatement object)
      Returns the result of interpreting the object as an instance of 'Unlabeled 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 'Unlabeled Statement'.
      See Also:
      • doSwitch(EObject)
    • caseEmptyStatement

      public T caseEmptyStatement(EmptyStatement object)
      Returns the result of interpreting the object as an instance of 'Empty 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 'Empty Statement'.
      See Also:
      • doSwitch(EObject)
    • caseSimpleStatement

      public T caseSimpleStatement(SimpleStatement object)
      Returns the result of interpreting the object as an instance of 'Simple 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 'Simple Statement'.
      See Also:
      • doSwitch(EObject)
    • caseIfStatement

      public T caseIfStatement(IfStatement object)
      Returns the result of interpreting the object as an instance of 'If 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 'If Statement'.
      See Also:
      • doSwitch(EObject)
    • caseConditional

      public T caseConditional(Conditional object)
      Returns the result of interpreting the object as an instance of 'Conditional'. 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 'Conditional'.
      See Also:
      • doSwitch(EObject)
    • caseLoopStatement

      public T caseLoopStatement(LoopStatement object)
      Returns the result of interpreting the object as an instance of 'Loop 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 'Loop Statement'.
      See Also:
      • doSwitch(EObject)
    • caseWhileStatement

      public T caseWhileStatement(WhileStatement object)
      Returns the result of interpreting the object as an instance of 'While 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 'While Statement'.
      See Also:
      • doSwitch(EObject)
    • caseForStatement

      public T caseForStatement(ForStatement object)
      Returns the result of interpreting the object as an instance of 'For 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 'For Statement'.
      See Also:
      • doSwitch(EObject)
    • caseForToStatement

      public T caseForToStatement(ForToStatement object)
      Returns the result of interpreting the object as an instance of 'For To 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 'For To Statement'.
      See Also:
      • doSwitch(EObject)
    • caseForEachStatement

      public T caseForEachStatement(ForEachStatement object)
      Returns the result of interpreting the object as an instance of 'For Each 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 'For Each Statement'.
      See Also:
      • doSwitch(EObject)
    • caseTryExceptStatement

      public T caseTryExceptStatement(TryExceptStatement object)
      Returns the result of interpreting the object as an instance of 'Try Except 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 'Try Except Statement'.
      See Also:
      • doSwitch(EObject)
    • caseGotoStatement

      public T caseGotoStatement(GotoStatement object)
      Returns the result of interpreting the object as an instance of 'Goto 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 'Goto Statement'.
      See Also:
      • doSwitch(EObject)
    • caseBreakStatement

      public T caseBreakStatement(BreakStatement object)
      Returns the result of interpreting the object as an instance of 'Break 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 'Break Statement'.
      See Also:
      • doSwitch(EObject)
    • caseContinueStatement

      public T caseContinueStatement(ContinueStatement object)
      Returns the result of interpreting the object as an instance of 'Continue 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 'Continue Statement'.
      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)
    • caseRaiseStatement

      public T caseRaiseStatement(RaiseStatement object)
      Returns the result of interpreting the object as an instance of 'Raise 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 'Raise Statement'.
      See Also:
      • doSwitch(EObject)
    • caseExecuteStatement

      public T caseExecuteStatement(ExecuteStatement object)
      Returns the result of interpreting the object as an instance of 'Execute 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 'Execute Statement'.
      See Also:
      • doSwitch(EObject)
    • caseEventHandlerStatement

      public T caseEventHandlerStatement(EventHandlerStatement object)
      Returns the result of interpreting the object as an instance of 'Event Handler 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 'Event Handler Statement'.
      See Also:
      • doSwitch(EObject)
    • caseAddHandlerStatement

      public T caseAddHandlerStatement(AddHandlerStatement object)
      Returns the result of interpreting the object as an instance of 'Add Handler 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 'Add Handler Statement'.
      See Also:
      • doSwitch(EObject)
    • caseRemoveHandlerStatement

      public T caseRemoveHandlerStatement(RemoveHandlerStatement object)
      Returns the result of interpreting the object as an instance of 'Remove Handler 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 'Remove Handler Statement'.
      See Also:
      • doSwitch(EObject)
    • caseAwaitStatement

      public T caseAwaitStatement(AwaitStatement object)
      Returns the result of interpreting the object as an instance of 'Await 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 'Await Statement'.
      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)
    • 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)
    • 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)
    • caseFeatureAccess

      public T caseFeatureAccess(FeatureAccess object)
      Returns the result of interpreting the object as an instance of 'Feature 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 'Feature Access'.
      See Also:
      • doSwitch(EObject)
    • caseStaticFeatureAccess

      public T caseStaticFeatureAccess(StaticFeatureAccess object)
      Returns the result of interpreting the object as an instance of 'Static Feature 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 'Static Feature Access'.
      See Also:
      • doSwitch(EObject)
    • caseFeatureEntry

      public T caseFeatureEntry(FeatureEntry object)
      Returns the result of interpreting the object as an instance of 'Feature Entry'. 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 'Feature Entry'.
      See Also:
      • doSwitch(EObject)
    • caseDynamicFeatureAccess

      public T caseDynamicFeatureAccess(DynamicFeatureAccess object)
      Returns the result of interpreting the object as an instance of 'Dynamic Feature 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 'Dynamic Feature Access'.
      See Also:
      • doSwitch(EObject)
    • caseInvocation

      public T caseInvocation(Invocation object)
      Returns the result of interpreting the object as an instance of 'Invocation'. 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 'Invocation'.
      See Also:
      • doSwitch(EObject)
    • caseIndexAccess

      public T caseIndexAccess(IndexAccess object)
      Returns the result of interpreting the object as an instance of 'Index 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 'Index Access'.
      See Also:
      • doSwitch(EObject)
    • caseFunctionStyleCreator

      public T caseFunctionStyleCreator(FunctionStyleCreator object)
      Returns the result of interpreting the object as an instance of 'Function Style Creator'. 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 'Function Style Creator'.
      See Also:
      • doSwitch(EObject)
    • caseOperatorStyleCreator

      public T caseOperatorStyleCreator(OperatorStyleCreator object)
      Returns the result of interpreting the object as an instance of 'Operator Style Creator'. 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 'Operator Style Creator'.
      See Also:
      • doSwitch(EObject)
    • caseNameExpression

      public T caseNameExpression(NameExpression object)
      Returns the result of interpreting the object as an instance of 'Name 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 'Name Expression'.
      See Also:
      • doSwitch(EObject)
    • caseEmptyExpression

      public T caseEmptyExpression(EmptyExpression object)
      Returns the result of interpreting the object as an instance of 'Empty 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 'Empty Expression'.
      See Also:
      • doSwitch(EObject)
    • caseAwaitExpression

      public T caseAwaitExpression(AwaitExpression object)
      Returns the result of interpreting the object as an instance of 'Await 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 'Await Expression'.
      See Also:
      • doSwitch(EObject)
    • caseLiteral

      public T caseLiteral(Literal object)
      Returns the result of interpreting the object as an instance of '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 '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)
    • caseUndefinedLiteral

      public T caseUndefinedLiteral(UndefinedLiteral object)
      Returns the result of interpreting the object as an instance of 'Undefined 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 'Undefined 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)
    • caseNumberLiteral

      public T caseNumberLiteral(NumberLiteral object)
      Returns the result of interpreting the object as an instance of 'Number 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 'Number Literal'.
      See Also:
      • doSwitch(EObject)
    • caseDateLiteral

      public T caseDateLiteral(DateLiteral object)
      Returns the result of interpreting the object as an instance of 'Date 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 'Date Literal'.
      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)
    • caseBuiltinFunction

      public T caseBuiltinFunction(BuiltinFunction object)
      Returns the result of interpreting the object as an instance of 'Builtin Function'. 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 'Builtin Function'.
      See Also:
      • doSwitch(EObject)
    • caseParamSet

      public T caseParamSet(ParamSet object)
      Returns the result of interpreting the object as an instance of 'Param Set'. 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 'Param Set'.
      See Also:
      • doSwitch(EObject)
    • caseFakeReference

      public T caseFakeReference(FakeReference object)
      Returns the result of interpreting the object as an instance of 'Fake Reference'. 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 'Fake Reference'.
      See Also:
      • doSwitch(EObject)
    • caseFeaturesScopeSpec

      public T caseFeaturesScopeSpec(FeaturesScopeSpec object)
      Returns the result of interpreting the object as an instance of 'Features Scope Spec'. 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 'Features Scope Spec'.
      See Also:
      • doSwitch(EObject)
    • caseMethodsScopeSpec

      public T caseMethodsScopeSpec(MethodsScopeSpec object)
      Returns the result of interpreting the object as an instance of 'Methods Scope Spec'. 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 'Methods Scope Spec'.
      See Also:
      • doSwitch(EObject)
    • caseVariablesScopeSpec

      public T caseVariablesScopeSpec(VariablesScopeSpec object)
      Returns the result of interpreting the object as an instance of 'Variables Scope Spec'. 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 'Variables Scope Spec'.
      See Also:
      • doSwitch(EObject)
    • caseVersionedElement

      public T caseVersionedElement(VersionedElement object)
      Returns the result of interpreting the object as an instance of 'Versioned 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 'Versioned Element'.
      See Also:
      • doSwitch(EObject)
    • caseDocumentationElement

      public T caseDocumentationElement(DocumentationElement object)
      Returns the result of interpreting the object as an instance of 'Documentation 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 'Documentation Element'.
      See Also:
      • doSwitch(EObject)
    • casePropertyType

      public T casePropertyType(PropertyType object)
      Returns the result of interpreting the object as an instance of 'Property Type'. 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 Type'.
      See Also:
      • doSwitch(EObject)
    • caseExtendedType

      public T caseExtendedType(ExtendedType object)
      Returns the result of interpreting the object as an instance of 'Extended Type'. 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 'Extended Type'.
      See Also:
      • doSwitch(EObject)
    • caseExtendedCollectionType

      public T caseExtendedCollectionType(ExtendedCollectionType object)
      Returns the result of interpreting the object as an instance of 'Extended Collection Type'. 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 'Extended Collection Type'.
      See Also:
      • doSwitch(EObject)
    • caseBslDerivedPropertySource

      public T caseBslDerivedPropertySource(BslDerivedPropertySource object)
      Returns the result of interpreting the object as an instance of 'Derived Property Source'. 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 'Derived Property Source'.
      See Also:
      • doSwitch(EObject)
    • caseEnvironmental

      public T caseEnvironmental(Environmental object)
      Returns the result of interpreting the object as an instance of 'Environmental'. 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 'Environmental'.
      See Also:
      • doSwitch(EObject)
    • caseNamedElement

      public T caseNamedElement(NamedElement object)
      Returns the result of interpreting the object as an instance of 'Named 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 'Named Element'.
      See Also:
      • doSwitch(EObject)
    • caseDuallyNamedElement

      public T caseDuallyNamedElement(DuallyNamedElement object)
      Returns the result of interpreting the object as an instance of 'Dually Named 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 'Dually Named Element'.
      See Also:
      • doSwitch(EObject)
    • caseTypeItem

      public T caseTypeItem(TypeItem object)
      Returns the result of interpreting the object as an instance of 'Type Item'. 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 Item'.
      See Also:
      • doSwitch(EObject)
    • caseVersionedItem

      public T caseVersionedItem(VersionedItem object)
      Returns the result of interpreting the object as an instance of 'Versioned Item'. 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 'Versioned Item'.
      See Also:
      • doSwitch(EObject)
    • caseType

      public T caseType(Type object)
      Returns the result of interpreting the object as an instance of 'Type'. 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'.
      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)