public class CSTSwitch<T> extends Switch<T>
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.
CSTPackage
Constructor and Description |
---|
CSTSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseAssertExpCS(AssertExpCS object)
Returns the result of interpreting the object as an instance of 'Assert Exp CS'.
|
T |
caseAssignStatementCS(AssignStatementCS object)
Returns the result of interpreting the object as an instance of 'Assign Statement CS'.
|
T |
caseBlockExpCS(BlockExpCS object)
Returns the result of interpreting the object as an instance of 'Block Exp CS'.
|
T |
caseBreakExpCS(BreakExpCS object)
Returns the result of interpreting the object as an instance of 'Break Exp CS'.
|
T |
caseCallExpCS(CallExpCS object)
Returns the result of interpreting the object as an instance of 'Call Exp CS'.
|
T |
caseCatchExpCS(CatchExpCS object)
Returns the result of interpreting the object as an instance of 'Catch Exp CS'.
|
T |
caseClassifierDefCS(ClassifierDefCS object)
Returns the result of interpreting the object as an instance of 'Classifier Def CS'.
|
T |
caseClassifierPropertyCS(ClassifierPropertyCS object)
Returns the result of interpreting the object as an instance of 'Classifier Property CS'.
|
T |
caseCompleteSignatureCS(CompleteSignatureCS object)
Returns the result of interpreting the object as an instance of 'Complete Signature CS'.
|
T |
caseComputeExpCS(ComputeExpCS object)
Returns the result of interpreting the object as an instance of 'Compute Exp CS'.
|
T |
caseConfigPropertyCS(ConfigPropertyCS object)
Returns the result of interpreting the object as an instance of 'Config Property CS'.
|
T |
caseConstructorCS(ConstructorCS object)
Returns the result of interpreting the object as an instance of 'Constructor CS'.
|
T |
caseContextualPropertyCS(ContextualPropertyCS object)
Returns the result of interpreting the object as an instance of 'Contextual Property CS'.
|
T |
caseContinueExpCS(ContinueExpCS object)
Returns the result of interpreting the object as an instance of 'Continue Exp CS'.
|
T |
caseCSTNode(CSTNode object)
Returns the result of interpreting the object as an instance of 'Node'.
|
T |
caseDictionaryTypeCS(DictionaryTypeCS object)
Returns the result of interpreting the object as an instance of 'Dictionary Type CS'.
|
T |
caseDictLiteralExpCS(DictLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Dict Literal Exp CS'.
|
T |
caseDictLiteralPartCS(DictLiteralPartCS object)
Returns the result of interpreting the object as an instance of 'Dict Literal Part CS'.
|
T |
caseDirectionKindCS(DirectionKindCS object)
Returns the result of interpreting the object as an instance of 'Direction Kind CS'.
|
T |
caseElementWithBody(ElementWithBody object)
Returns the result of interpreting the object as an instance of 'Element With Body'.
|
T |
caseExceptionDefCS(ExceptionDefCS object)
Returns the result of interpreting the object as an instance of 'Exception Def CS'.
|
T |
caseExpressionStatementCS(ExpressionStatementCS object)
Returns the result of interpreting the object as an instance of 'Expression Statement CS'.
|
T |
caseFeatureCallExpCS(FeatureCallExpCS object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp CS'.
|
T |
caseForExpCS(ForExpCS object)
Returns the result of interpreting the object as an instance of 'For Exp CS'.
|
T |
caseImperativeIterateExpCS(ImperativeIterateExpCS object)
Returns the result of interpreting the object as an instance of 'Imperative Iterate Exp CS'.
|
T |
caseImperativeLoopExpCS(ImperativeLoopExpCS object)
Returns the result of interpreting the object as an instance of 'Imperative Loop Exp CS'.
|
T |
caseImperativeOperationCallExpCS(ImperativeOperationCallExpCS object)
Returns the result of interpreting the object as an instance of 'Imperative Operation Call Exp CS'.
|
T |
caseImportCS(ImportCS object)
Returns the result of interpreting the object as an instance of 'Import CS'.
|
T |
caseInstantiationExpCS(InstantiationExpCS object)
Returns the result of interpreting the object as an instance of 'Instantiation Exp CS'.
|
T |
caseIntermediateClassDefCS(IntermediateClassDefCS object)
Returns the result of interpreting the object as an instance of 'Intermediate Class Def CS'.
|
T |
caseLibraryCS(LibraryCS object)
Returns the result of interpreting the object as an instance of 'Library CS'.
|
T |
caseLibraryImportCS(LibraryImportCS object)
Returns the result of interpreting the object as an instance of 'Library Import CS'.
|
T |
caseListLiteralExpCS(ListLiteralExpCS object)
Returns the result of interpreting the object as an instance of 'List Literal Exp CS'.
|
T |
caseListTypeCS(ListTypeCS object)
Returns the result of interpreting the object as an instance of 'List Type CS'.
|
T |
caseLiteralExpCS(LiteralExpCS object)
Returns the result of interpreting the object as an instance of 'Literal Exp CS'.
|
T |
caseLocalPropertyCS(LocalPropertyCS object)
Returns the result of interpreting the object as an instance of 'Local Property CS'.
|
T |
caseLogExpCS(LogExpCS object)
Returns the result of interpreting the object as an instance of 'Log Exp CS'.
|
T |
caseLoopExpCS(LoopExpCS object)
Returns the result of interpreting the object as an instance of 'Loop Exp CS'.
|
T |
caseMappingBodyCS(MappingBodyCS object)
Returns the result of interpreting the object as an instance of 'Mapping Body CS'.
|
T |
caseMappingCallExpCS(MappingCallExpCS object)
Returns the result of interpreting the object as an instance of 'Mapping Call Exp CS'.
|
T |
caseMappingDeclarationCS(MappingDeclarationCS object)
Returns the result of interpreting the object as an instance of 'Mapping Declaration CS'.
|
T |
caseMappingEndCS(MappingEndCS object)
Returns the result of interpreting the object as an instance of 'Mapping End CS'.
|
T |
caseMappingExtensionCS(MappingExtensionCS object)
Returns the result of interpreting the object as an instance of 'Mapping Extension CS'.
|
T |
caseMappingInitCS(MappingInitCS object)
Returns the result of interpreting the object as an instance of 'Mapping Init CS'.
|
T |
caseMappingMethodCS(MappingMethodCS object)
Returns the result of interpreting the object as an instance of 'Mapping Method CS'.
|
T |
caseMappingModuleCS(MappingModuleCS object)
Returns the result of interpreting the object as an instance of 'Mapping Module CS'.
|
T |
caseMappingQueryCS(MappingQueryCS object)
Returns the result of interpreting the object as an instance of 'Mapping Query CS'.
|
T |
caseMappingRuleCS(MappingRuleCS object)
Returns the result of interpreting the object as an instance of 'Mapping Rule CS'.
|
T |
caseMappingSectionCS(MappingSectionCS object)
Returns the result of interpreting the object as an instance of 'Mapping Section CS'.
|
T |
caseMappingSectionsCS(MappingSectionsCS object)
Returns the result of interpreting the object as an instance of 'Mapping Sections CS'.
|
T |
caseModelTypeCS(ModelTypeCS object)
Returns the result of interpreting the object as an instance of 'Model Type CS'.
|
T |
caseModuleKindCS(ModuleKindCS object)
Returns the result of interpreting the object as an instance of 'Module Kind CS'.
|
T |
caseModulePropertyCS(ModulePropertyCS object)
Returns the result of interpreting the object as an instance of 'Module Property CS'.
|
T |
caseModuleRefCS(ModuleRefCS object)
Returns the result of interpreting the object as an instance of 'Module Ref CS'.
|
T |
caseModuleUsageCS(ModuleUsageCS object)
Returns the result of interpreting the object as an instance of 'Module Usage CS'.
|
T |
caseMultiplicityDefCS(MultiplicityDefCS object)
Returns the result of interpreting the object as an instance of 'Multiplicity Def CS'.
|
T |
caseObjectExpCS(ObjectExpCS object)
Returns the result of interpreting the object as an instance of 'Object Exp CS'.
|
T |
caseOCLExpressionCS(OCLExpressionCS object)
Returns the result of interpreting the object as an instance of 'OCL Expression CS'.
|
T |
caseOperationCallExpCS(OperationCallExpCS object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp CS'.
|
T |
caseOppositePropertyCS(OppositePropertyCS object)
Returns the result of interpreting the object as an instance of 'Opposite Property CS'.
|
T |
casePackageRefCS(PackageRefCS object)
Returns the result of interpreting the object as an instance of 'Package Ref CS'.
|
T |
caseParameterDeclarationCS(ParameterDeclarationCS object)
Returns the result of interpreting the object as an instance of 'Parameter Declaration CS'.
|
T |
caseRaiseExpCS(RaiseExpCS object)
Returns the result of interpreting the object as an instance of 'Raise Exp CS'.
|
T |
caseRenameCS(RenameCS object)
Returns the result of interpreting the object as an instance of 'Rename CS'.
|
T |
caseResolveExpCS(ResolveExpCS object)
Returns the result of interpreting the object as an instance of 'Resolve Exp CS'.
|
T |
caseResolveInExpCS(ResolveInExpCS object)
Returns the result of interpreting the object as an instance of 'Resolve In Exp CS'.
|
T |
caseResolveOpArgsExpCS(ResolveOpArgsExpCS object)
Returns the result of interpreting the object as an instance of 'Resolve Op Args Exp CS'.
|
T |
caseReturnExpCS(ReturnExpCS object)
Returns the result of interpreting the object as an instance of 'Return Exp CS'.
|
T |
caseScopedNameCS(ScopedNameCS object)
Returns the result of interpreting the object as an instance of 'Scoped Name CS'.
|
T |
caseSimpleSignatureCS(SimpleSignatureCS object)
Returns the result of interpreting the object as an instance of 'Simple Signature CS'.
|
T |
caseStatementCS(StatementCS object)
Returns the result of interpreting the object as an instance of 'Statement CS'.
|
T |
caseSwitchAltExpCS(SwitchAltExpCS object)
Returns the result of interpreting the object as an instance of 'Switch Alt Exp CS'.
|
T |
caseSwitchExpCS(SwitchExpCS object)
Returns the result of interpreting the object as an instance of 'Switch Exp CS'.
|
T |
caseTagCS(TagCS object)
Returns the result of interpreting the object as an instance of 'Tag CS'.
|
T |
caseTransformationHeaderCS(TransformationHeaderCS object)
Returns the result of interpreting the object as an instance of 'Transformation Header CS'.
|
T |
caseTransformationRefineCS(TransformationRefineCS object)
Returns the result of interpreting the object as an instance of 'Transformation Refine CS'.
|
T |
caseTryExpCS(TryExpCS object)
Returns the result of interpreting the object as an instance of 'Try Exp CS'.
|
T |
caseTypeCS(TypeCS object)
Returns the result of interpreting the object as an instance of 'Type CS'.
|
T |
caseTypeSpecCS(TypeSpecCS object)
Returns the result of interpreting the object as an instance of 'Type Spec CS'.
|
T |
caseUnitCS(UnitCS object)
Returns the result of interpreting the object as an instance of 'Unit CS'.
|
T |
caseVariableInitializationCS(VariableInitializationCS object)
Returns the result of interpreting the object as an instance of 'Variable Initialization CS'.
|
T |
caseWhileExpCS(WhileExpCS object)
Returns the result of interpreting the object as an instance of 'While Exp CS'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
public static final String copyright
public CSTSwitch()
public T caseMappingModuleCS(MappingModuleCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibraryCS(LibraryCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseImportCS(ImportCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibraryImportCS(LibraryImportCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseRenameCS(RenameCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseModulePropertyCS(ModulePropertyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseConfigPropertyCS(ConfigPropertyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLocalPropertyCS(LocalPropertyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseContextualPropertyCS(ContextualPropertyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseClassifierDefCS(ClassifierDefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseClassifierPropertyCS(ClassifierPropertyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseIntermediateClassDefCS(IntermediateClassDefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseExceptionDefCS(ExceptionDefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseOppositePropertyCS(OppositePropertyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMultiplicityDefCS(MultiplicityDefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingDeclarationCS(MappingDeclarationCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseParameterDeclarationCS(ParameterDeclarationCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseSimpleSignatureCS(SimpleSignatureCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCompleteSignatureCS(CompleteSignatureCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingMethodCS(MappingMethodCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingRuleCS(MappingRuleCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingQueryCS(MappingQueryCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseConstructorCS(ConstructorCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingSectionCS(MappingSectionCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingInitCS(MappingInitCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingEndCS(MappingEndCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingSectionsCS(MappingSectionsCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseStatementCS(StatementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseBlockExpCS(BlockExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseComputeExpCS(ComputeExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseWhileExpCS(WhileExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseImperativeLoopExpCS(ImperativeLoopExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseForExpCS(ForExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseImperativeIterateExpCS(ImperativeIterateExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseSwitchExpCS(SwitchExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseSwitchAltExpCS(SwitchAltExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseVariableInitializationCS(VariableInitializationCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseAssignStatementCS(AssignStatementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseBreakExpCS(BreakExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseContinueExpCS(ContinueExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseExpressionStatementCS(ExpressionStatementCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingBodyCS(MappingBodyCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseObjectExpCS(ObjectExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingCallExpCS(MappingCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseImperativeOperationCallExpCS(ImperativeOperationCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseDirectionKindCS(DirectionKindCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseElementWithBody(ElementWithBody object)
object
- the target of the switch.doSwitch(EObject)
public T caseResolveExpCS(ResolveExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseResolveInExpCS(ResolveInExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelTypeCS(ModelTypeCS object)
object
- the target of the switch.doSwitch(EObject)
public T casePackageRefCS(PackageRefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTransformationHeaderCS(TransformationHeaderCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseModuleKindCS(ModuleKindCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseModuleRefCS(ModuleRefCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseModuleUsageCS(ModuleUsageCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTransformationRefineCS(TransformationRefineCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypeSpecCS(TypeSpecCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLogExpCS(LogExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseAssertExpCS(AssertExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseReturnExpCS(ReturnExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingExtensionCS(MappingExtensionCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseInstantiationExpCS(InstantiationExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseListTypeCS(ListTypeCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseListLiteralExpCS(ListLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseDictionaryTypeCS(DictionaryTypeCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseDictLiteralExpCS(DictLiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseDictLiteralPartCS(DictLiteralPartCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTagCS(TagCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseUnitCS(UnitCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseResolveOpArgsExpCS(ResolveOpArgsExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseScopedNameCS(ScopedNameCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTryExpCS(TryExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCatchExpCS(CatchExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseRaiseExpCS(RaiseExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCSTNode(CSTNode object)
object
- the target of the switch.doSwitch(EObject)
public T caseOCLExpressionCS(OCLExpressionCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseCallExpCS(CallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLoopExpCS(LoopExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseFeatureCallExpCS(FeatureCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationCallExpCS(OperationCallExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypeCS(TypeCS object)
object
- the target of the switch.doSwitch(EObject)
public T caseLiteralExpCS(LiteralExpCS object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
defaultCase
in class Switch<T>
object
- the target of the switch.Switch.doSwitch(org.eclipse.emf.ecore.EObject)
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.