public class ExpressionsSwitch<T> extends Object
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.
ExpressionsPackage
Constructor and Description |
---|
ExpressionsSwitch()
Creates an instance of the switch.
|
Modifier and Type | Method and Description |
---|---|
T |
caseASTNode(ASTNode object)
Returns the result of interpreting the object as an instance of 'AST Node'.
|
<C> T |
caseCallExp(CallExp<C> object)
Returns the result of interpreting the object as an instance of 'Call Exp'.
|
T |
caseCallingASTNode(CallingASTNode object)
Returns the result of interpreting the object as an instance of 'Calling AST Node'.
|
T |
caseConstructor(Constructor object)
Returns the result of interpreting the object as an instance of 'Constructor'.
|
T |
caseConstructorBody(ConstructorBody object)
Returns the result of interpreting the object as an instance of 'Constructor Body'.
|
T |
caseContextualProperty(ContextualProperty object)
Returns the result of interpreting the object as an instance of 'Contextual Property'.
|
T |
caseEClass(EClass object)
Returns the result of interpreting the object as an instance of 'EClass'.
|
T |
caseEClassifier(EClassifier object)
Returns the result of interpreting the object as an instance of 'EClassifier'.
|
T |
caseEcore_CallExp(CallExp object)
Returns the result of interpreting the object as an instance of 'Call Exp'.
|
T |
caseEcore_FeatureCallExp(FeatureCallExp object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp'.
|
T |
caseEcore_OCLExpression(OCLExpression object)
Returns the result of interpreting the object as an instance of 'OCL Expression'.
|
T |
caseEcore_OperationCallExp(OperationCallExp object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp'.
|
T |
caseEcore_Variable(Variable object)
Returns the result of interpreting the object as an instance of 'Variable'.
|
T |
caseEModelElement(EModelElement object)
Returns the result of interpreting the object as an instance of 'EModel Element'.
|
T |
caseENamedElement(ENamedElement object)
Returns the result of interpreting the object as an instance of 'ENamed Element'.
|
T |
caseEntryOperation(EntryOperation object)
Returns the result of interpreting the object as an instance of 'Entry Operation'.
|
T |
caseEOperation(EOperation object)
Returns the result of interpreting the object as an instance of 'EOperation'.
|
T |
caseEPackage(EPackage object)
Returns the result of interpreting the object as an instance of 'EPackage'.
|
T |
caseEParameter(EParameter object)
Returns the result of interpreting the object as an instance of 'EParameter'.
|
T |
caseEStructuralFeature(EStructuralFeature object)
Returns the result of interpreting the object as an instance of 'EStructural Feature'.
|
T |
caseETypedElement(ETypedElement object)
Returns the result of interpreting the object as an instance of 'ETyped Element'.
|
<C> T |
caseFeatureCallExp(FeatureCallExp<C> object)
Returns the result of interpreting the object as an instance of 'Feature Call Exp'.
|
T |
caseHelper(Helper object)
Returns the result of interpreting the object as an instance of 'Helper'.
|
T |
caseImperativeCallExp(ImperativeCallExp object)
Returns the result of interpreting the object as an instance of 'Imperative Call Exp'.
|
T |
caseImperativeExpression(ImperativeExpression object)
Returns the result of interpreting the object as an instance of 'Imperative Expression'.
|
T |
caseImperativeOperation(ImperativeOperation object)
Returns the result of interpreting the object as an instance of 'Imperative Operation'.
|
T |
caseInstantiationExp(InstantiationExp object)
Returns the result of interpreting the object as an instance of 'Instantiation Exp'.
|
T |
caseLibrary(Library object)
Returns the result of interpreting the object as an instance of 'Library'.
|
T |
caseMappingBody(MappingBody object)
Returns the result of interpreting the object as an instance of 'Mapping Body'.
|
T |
caseMappingCallExp(MappingCallExp object)
Returns the result of interpreting the object as an instance of 'Mapping Call Exp'.
|
T |
caseMappingOperation(MappingOperation object)
Returns the result of interpreting the object as an instance of 'Mapping Operation'.
|
T |
caseMappingParameter(MappingParameter object)
Returns the result of interpreting the object as an instance of 'Mapping Parameter'.
|
T |
caseModelParameter(ModelParameter object)
Returns the result of interpreting the object as an instance of 'Model Parameter'.
|
T |
caseModelType(ModelType object)
Returns the result of interpreting the object as an instance of 'Model Type'.
|
T |
caseModule(Module object)
Returns the result of interpreting the object as an instance of 'Module'.
|
T |
caseModuleImport(ModuleImport object)
Returns the result of interpreting the object as an instance of 'Module Import'.
|
T |
caseObjectExp(ObjectExp object)
Returns the result of interpreting the object as an instance of 'Object Exp'.
|
<C> T |
caseOCLExpression(OCLExpression<C> object)
Returns the result of interpreting the object as an instance of 'OCL Expression'.
|
T |
caseOperationalTransformation(OperationalTransformation object)
Returns the result of interpreting the object as an instance of 'Operational Transformation'.
|
T |
caseOperationBody(OperationBody object)
Returns the result of interpreting the object as an instance of 'Operation Body'.
|
<C,O> T |
caseOperationCallExp(OperationCallExp<C,O> object)
Returns the result of interpreting the object as an instance of 'Operation Call Exp'.
|
T |
caseResolveExp(ResolveExp object)
Returns the result of interpreting the object as an instance of 'Resolve Exp'.
|
T |
caseResolveInExp(ResolveInExp object)
Returns the result of interpreting the object as an instance of 'Resolve In Exp'.
|
T |
caseTypedASTNode(TypedASTNode object)
Returns the result of interpreting the object as an instance of 'Typed AST Node'.
|
<C> T |
caseTypedElement(TypedElement<C> object)
Returns the result of interpreting the object as an instance of 'Typed Element'.
|
<C,PM> T |
caseVariable(Variable<C,PM> object)
Returns the result of interpreting the object as an instance of 'Variable'.
|
T |
caseVarParameter(VarParameter object)
Returns the result of interpreting the object as an instance of 'Var Parameter'.
|
T |
caseVisitable(Visitable object)
Returns the result of interpreting the object as an instance of 'Visitable'.
|
T |
caseVisitableASTNode(VisitableASTNode object)
Returns the result of interpreting the object as an instance of 'Visitable AST Node'.
|
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.
|
T |
doSwitch(EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result. |
public static final String copyright
public ExpressionsSwitch()
public T doSwitch(EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseConstructor(Constructor object)
object
- the target of the switch.doSwitch(EObject)
public T caseModule(Module object)
object
- the target of the switch.doSwitch(EObject)
public T caseLibrary(Library object)
object
- the target of the switch.doSwitch(EObject)
public T caseModuleImport(ModuleImport object)
object
- the target of the switch.doSwitch(EObject)
public T caseContextualProperty(ContextualProperty object)
object
- the target of the switch.doSwitch(EObject)
public T caseImperativeCallExp(ImperativeCallExp object)
object
- the target of the switch.doSwitch(EObject)
public T caseImperativeOperation(ImperativeOperation object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelParameter(ModelParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseVarParameter(VarParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationBody(OperationBody object)
object
- the target of the switch.doSwitch(EObject)
public T caseConstructorBody(ConstructorBody object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingOperation(MappingOperation object)
object
- the target of the switch.doSwitch(EObject)
public T caseHelper(Helper object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingBody(MappingBody object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingCallExp(MappingCallExp object)
object
- the target of the switch.doSwitch(EObject)
public T caseObjectExp(ObjectExp object)
object
- the target of the switch.doSwitch(EObject)
public T caseVisitableASTNode(VisitableASTNode object)
object
- the target of the switch.doSwitch(EObject)
public T caseResolveExp(ResolveExp object)
object
- the target of the switch.doSwitch(EObject)
public T caseResolveInExp(ResolveInExp object)
object
- the target of the switch.doSwitch(EObject)
public T caseModelType(ModelType object)
object
- the target of the switch.doSwitch(EObject)
public T caseMappingParameter(MappingParameter object)
object
- the target of the switch.doSwitch(EObject)
public T caseOperationalTransformation(OperationalTransformation object)
object
- the target of the switch.doSwitch(EObject)
public T caseEntryOperation(EntryOperation object)
object
- the target of the switch.doSwitch(EObject)
public T caseImperativeExpression(ImperativeExpression object)
object
- the target of the switch.doSwitch(EObject)
public T caseInstantiationExp(InstantiationExp object)
object
- the target of the switch.doSwitch(EObject)
public T caseEModelElement(EModelElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseENamedElement(ENamedElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseEClassifier(EClassifier object)
object
- the target of the switch.doSwitch(EObject)
public T caseEClass(EClass object)
object
- the target of the switch.doSwitch(EObject)
public T caseEPackage(EPackage object)
object
- the target of the switch.doSwitch(EObject)
public T caseVisitable(Visitable object)
object
- the target of the switch.doSwitch(EObject)
public T caseASTNode(ASTNode object)
object
- the target of the switch.doSwitch(EObject)
public T caseETypedElement(ETypedElement object)
object
- the target of the switch.doSwitch(EObject)
public T caseEStructuralFeature(EStructuralFeature object)
object
- the target of the switch.doSwitch(EObject)
public T caseEOperation(EOperation object)
object
- the target of the switch.doSwitch(EObject)
public <C> T caseTypedElement(TypedElement<C> object)
object
- the target of the switch.doSwitch(EObject)
public T caseTypedASTNode(TypedASTNode object)
object
- the target of the switch.doSwitch(EObject)
public <C,PM> T caseVariable(Variable<C,PM> object)
object
- the target of the switch.doSwitch(EObject)
public T caseEcore_Variable(Variable object)
object
- the target of the switch.doSwitch(EObject)
public T caseEParameter(EParameter object)
object
- the target of the switch.doSwitch(EObject)
public <C> T caseOCLExpression(OCLExpression<C> object)
object
- the target of the switch.doSwitch(EObject)
public T caseEcore_OCLExpression(OCLExpression object)
object
- the target of the switch.doSwitch(EObject)
public T caseCallingASTNode(CallingASTNode object)
object
- the target of the switch.doSwitch(EObject)
public <C> T caseCallExp(CallExp<C> object)
object
- the target of the switch.doSwitch(EObject)
public T caseEcore_CallExp(CallExp object)
object
- the target of the switch.doSwitch(EObject)
public <C> T caseFeatureCallExp(FeatureCallExp<C> object)
object
- the target of the switch.doSwitch(EObject)
public T caseEcore_FeatureCallExp(FeatureCallExp object)
object
- the target of the switch.doSwitch(EObject)
public <C,O> T caseOperationCallExp(OperationCallExp<C,O> object)
object
- the target of the switch.doSwitch(EObject)
public T caseEcore_OperationCallExp(OperationCallExp object)
object
- the target of the switch.doSwitch(EObject)
public T defaultCase(EObject object)
object
- the target of the switch.doSwitch(org.eclipse.emf.ecore.EObject)
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.