Package com._1c.g5.v8.dt.bsl.model.util
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Add Handler Statement'.caseAwaitExpression
(AwaitExpression object) Returns the result of interpreting the object as an instance of 'Await Expression'.caseAwaitStatement
(AwaitStatement object) Returns the result of interpreting the object as an instance of 'Await Statement'.caseBinaryExpression
(BinaryExpression object) Returns the result of interpreting the object as an instance of 'Binary Expression'.Returns the result of interpreting the object as an instance of 'Binary Preprocessor Expression'.Returns the result of interpreting the object as an instance of 'Block'.caseBooleanLiteral
(BooleanLiteral object) Returns the result of interpreting the object as an instance of 'Boolean Literal'.Returns the result of interpreting the object as an instance of 'Bracket Preprocessor Expression'.caseBreakStatement
(BreakStatement object) Returns the result of interpreting the object as an instance of 'Break Statement'.Returns the result of interpreting the object as an instance of 'Derived Property Source'.caseBuiltinFunction
(BuiltinFunction object) Returns the result of interpreting the object as an instance of 'Builtin Function'.caseConditional
(Conditional object) Returns the result of interpreting the object as an instance of 'Conditional'.Returns the result of interpreting the object as an instance of 'Continue Statement'.caseDateLiteral
(DateLiteral object) Returns the result of interpreting the object as an instance of 'Date Literal'.caseDeclareStatement
(DeclareStatement object) Returns the result of interpreting the object as an instance of 'Declare Statement'.Returns the result of interpreting the object as an instance of 'Documentation Element'.Returns the result of interpreting the object as an instance of 'Dually Named Element'.Returns the result of interpreting the object as an instance of 'Dynamic Feature Access'.caseEmptyExpression
(EmptyExpression object) Returns the result of interpreting the object as an instance of 'Empty Expression'.caseEmptyStatement
(EmptyStatement object) Returns the result of interpreting the object as an instance of 'Empty Statement'.caseEnvironmental
(Environmental object) Returns the result of interpreting the object as an instance of 'Environmental'.Returns the result of interpreting the object as an instance of 'Event Handler Statement'.caseExecuteStatement
(ExecuteStatement object) Returns the result of interpreting the object as an instance of 'Execute Statement'.caseExplicitVariable
(ExplicitVariable object) Returns the result of interpreting the object as an instance of 'Explicit Variable'.caseExpression
(Expression object) Returns the result of interpreting the object as an instance of 'Expression'.Returns the result of interpreting the object as an instance of 'Extended Collection Type'.caseExtendedType
(ExtendedType object) Returns the result of interpreting the object as an instance of 'Extended Type'.caseFakeReference
(FakeReference object) Returns the result of interpreting the object as an instance of 'Fake Reference'.caseFeatureAccess
(FeatureAccess object) Returns the result of interpreting the object as an instance of 'Feature Access'.caseFeatureEntry
(FeatureEntry object) Returns the result of interpreting the object as an instance of 'Feature Entry'.Returns the result of interpreting the object as an instance of 'Features Scope Spec'.caseForEachStatement
(ForEachStatement object) Returns the result of interpreting the object as an instance of 'For Each Statement'.caseFormalParam
(FormalParam object) Returns the result of interpreting the object as an instance of 'Formal Param'.caseForStatement
(ForStatement object) Returns the result of interpreting the object as an instance of 'For Statement'.caseForToStatement
(ForToStatement object) Returns the result of interpreting the object as an instance of 'For To Statement'.caseFunction
(Function object) Returns the result of interpreting the object as an instance of 'Function'.Returns the result of interpreting the object as an instance of 'Function Style Creator'.caseGotoStatement
(GotoStatement object) Returns the result of interpreting the object as an instance of 'Goto Statement'.caseIfPreprocessor
(IfPreprocessor object) Returns the result of interpreting the object as an instance of 'If Preprocessor'.Returns the result of interpreting the object as an instance of 'If Preprocessor Declare Statement'.Returns the result of interpreting the object as an instance of 'If Preprocessor Expression'.Returns the result of interpreting the object as an instance of 'If Preprocessor Statement'.caseIfStatement
(IfStatement object) Returns the result of interpreting the object as an instance of 'If Statement'.caseImplicitVariable
(ImplicitVariable object) Returns the result of interpreting the object as an instance of 'Implicit Variable'.caseIndexAccess
(IndexAccess object) Returns the result of interpreting the object as an instance of 'Index Access'.caseInvocation
(Invocation object) Returns the result of interpreting the object as an instance of 'Invocation'.Returns the result of interpreting the object as an instance of 'Label'.caseLabeledStatement
(LabeledStatement object) Returns the result of interpreting the object as an instance of 'Labeled Statement'.caseLiteral
(Literal object) Returns the result of interpreting the object as an instance of 'Literal'.caseLoopStatement
(LoopStatement object) Returns the result of interpreting the object as an instance of 'Loop Statement'.caseMethod
(Method object) Returns the result of interpreting the object as an instance of 'Method'.caseMethodsScopeSpec
(MethodsScopeSpec object) Returns the result of interpreting the object as an instance of 'Methods Scope Spec'.caseModule
(Module object) Returns the result of interpreting the object as an instance of 'Module'.caseNamedElement
(NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.caseNameExpression
(NameExpression object) Returns the result of interpreting the object as an instance of 'Name Expression'.caseNullLiteral
(NullLiteral object) Returns the result of interpreting the object as an instance of 'Null Literal'.caseNumberLiteral
(NumberLiteral object) Returns the result of interpreting the object as an instance of 'Number Literal'.Returns the result of interpreting the object as an instance of 'Operator Style Creator'.caseParamSet
(ParamSet object) Returns the result of interpreting the object as an instance of 'Param Set'.casePragma
(Pragma object) Returns the result of interpreting the object as an instance of 'Pragma'.casePragmaTarget
(PragmaTarget object) Returns the result of interpreting the object as an instance of 'Pragma Target'.casePreprocessor
(Preprocessor object) Returns the result of interpreting the object as an instance of 'Preprocessor'.Returns the result of interpreting the object as an instance of 'Preprocessor Conditional'.Returns the result of interpreting the object as an instance of 'Preprocessor Expression'.Returns the result of interpreting the object as an instance of 'Preprocessor If Conditional'.casePreprocessorItem
(PreprocessorItem object) Returns the result of interpreting the object as an instance of 'Preprocessor Item'.Returns the result of interpreting the object as an instance of 'Preprocessor Item All Type Statements'.Returns the result of interpreting the object as an instance of 'Preprocessor Item Declare Statement'.Returns the result of interpreting the object as an instance of 'Preprocessor Item Expression'.Returns the result of interpreting the object as an instance of 'Preprocessor Item Method Statement'.Returns the result of interpreting the object as an instance of 'Preprocessor Item Module'.Returns the result of interpreting the object as an instance of 'Preprocessor Item Statements'.Returns the result of interpreting the object as an instance of 'Preprocessor Literal Expression'.caseProcedure
(Procedure object) Returns the result of interpreting the object as an instance of 'Procedure'.casePropertyType
(PropertyType object) Returns the result of interpreting the object as an instance of 'Property Type'.caseRaiseStatement
(RaiseStatement object) Returns the result of interpreting the object as an instance of 'Raise Statement'.Returns the result of interpreting the object as an instance of 'Region Preprocessor'.Returns the result of interpreting the object as an instance of 'Region Preprocessor Declare Statement'.Returns the result of interpreting the object as an instance of 'Region Preprocessor Expression'.Returns the result of interpreting the object as an instance of 'Region Preprocessor Statement'.Returns the result of interpreting the object as an instance of 'Remove Handler Statement'.caseReturnStatement
(ReturnStatement object) Returns the result of interpreting the object as an instance of 'Return Statement'.caseSimpleStatement
(SimpleStatement object) Returns the result of interpreting the object as an instance of 'Simple Statement'.caseStatement
(Statement object) Returns the result of interpreting the object as an instance of 'Statement'.Returns the result of interpreting the object as an instance of 'Static Feature Access'.caseStringLiteral
(StringLiteral object) Returns the result of interpreting the object as an instance of 'String Literal'.Returns the result of interpreting the object as an instance of 'Try Except Statement'.Returns the result of interpreting the object as an instance of 'Type'.caseTypeItem
(TypeItem object) Returns the result of interpreting the object as an instance of 'Type Item'.caseUnaryExpression
(UnaryExpression object) Returns the result of interpreting the object as an instance of 'Unary Expression'.Returns the result of interpreting the object as an instance of 'Unary Preprocessor Expression'.caseUndefinedLiteral
(UndefinedLiteral object) Returns the result of interpreting the object as an instance of 'Undefined Literal'.Returns the result of interpreting the object as an instance of 'Unlabeled Statement'.caseVariable
(Variable object) Returns the result of interpreting the object as an instance of 'Variable'.Returns the result of interpreting the object as an instance of 'Variables Scope Spec'.caseVersionedElement
(VersionedElement object) Returns the result of interpreting the object as an instance of 'Versioned Element'.caseVersionedItem
(VersionedItem object) Returns the result of interpreting the object as an instance of 'Versioned Item'.caseWhileStatement
(WhileStatement object) Returns the result of interpreting the object as an instance of 'While Statement'.defaultCase
(org.eclipse.emf.ecore.EObject object) Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch
(int classifierID, org.eclipse.emf.ecore.EObject theEObject) CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor
(org.eclipse.emf.ecore.EPackage ePackage) Checks whether this is a switch for the given package.Methods inherited from class org.eclipse.emf.ecore.util.Switch
doSwitch, doSwitch
-
Field Details
-
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 classorg.eclipse.emf.ecore.util.Switch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<T>
- Returns:
- the first non-null result returned by a
caseXXX
call.
-
caseModule
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 classorg.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)
-