|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ujf.verimag.bip.Core.ActionLanguage.Expressions.util.ExpressionsSwitch<T>
public class ExpressionsSwitch<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.
ExpressionsPackage
Field Summary | |
---|---|
protected static ExpressionsPackage |
modelPackage
The cached model package |
Constructor Summary | |
---|---|
ExpressionsSwitch()
Creates an instance of the switch. |
Method Summary | |
---|---|
T |
caseAction(Action object)
Returns the result of interpreting the object as an instance of 'Action'. |
T |
caseArrayNavigationExpression(ArrayNavigationExpression object)
Returns the result of interpreting the object as an instance of 'Array Navigation Expression'. |
T |
caseBinaryExpression(BinaryExpression object)
Returns the result of interpreting the object as an instance of 'Binary Expression'. |
T |
caseBooleanLiteral(BooleanLiteral object)
Returns the result of interpreting the object as an instance of 'Boolean Literal'. |
T |
caseDataNavigationExpression(DataNavigationExpression object)
Returns the result of interpreting the object as an instance of 'Data Navigation Expression'. |
T |
caseDataParameterReference(DataParameterReference object)
Returns the result of interpreting the object as an instance of 'Data Parameter Reference'. |
T |
caseDataParameterSpecification(DataParameterSpecification object)
Returns the result of interpreting the object as an instance of 'Data Parameter Specification'. |
T |
caseDataReference(DataReference object)
Returns the result of interpreting the object as an instance of 'Data Reference'. |
T |
caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'. |
T |
caseFieldNavigationExpression(FieldNavigationExpression object)
Returns the result of interpreting the object as an instance of 'Field Navigation Expression'. |
T |
caseFunctionCallExpression(FunctionCallExpression object)
Returns the result of interpreting the object as an instance of 'Function Call Expression'. |
T |
caseIndexLiteral(IndexLiteral object)
Returns the result of interpreting the object as an instance of 'Index Literal'. |
T |
caseInnerDataParameterReference(InnerDataParameterReference object)
Returns the result of interpreting the object as an instance of 'Inner Data Parameter Reference'. |
T |
caseInnerInterfaceVariableReference(InnerInterfaceVariableReference object)
Returns the result of interpreting the object as an instance of 'Inner Interface Variable Reference'. |
T |
caseIntegerLiteral(IntegerLiteral object)
Returns the result of interpreting the object as an instance of 'Integer Literal'. |
T |
caseInterfaceVariableReference(InterfaceVariableReference object)
Returns the result of interpreting the object as an instance of 'Interface Variable Reference'. |
T |
casePointerLiteral(PointerLiteral object)
Returns the result of interpreting the object as an instance of 'Pointer Literal'. |
T |
caseRealLiteral(RealLiteral object)
Returns the result of interpreting the object as an instance of 'Real Literal'. |
T |
caseRequiredDataParameterReference(RequiredDataParameterReference object)
Returns the result of interpreting the object as an instance of 'Required Data Parameter Reference'. |
T |
caseStateReference(StateReference object)
Returns the result of interpreting the object as an instance of 'State Reference'. |
T |
caseStringLiteral(StringLiteral object)
Returns the result of interpreting the object as an instance of 'String Literal'. |
T |
caseUnaryExpression(UnaryExpression object)
Returns the result of interpreting the object as an instance of 'Unary Expression'. |
T |
caseVariableReference(VariableReference object)
Returns the result of interpreting the object as an instance of 'Variable Reference'. |
T |
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'. |
protected T |
doSwitch(EClass theEClass,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
T |
doSwitch(EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
protected T |
doSwitch(int classifierID,
EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static ExpressionsPackage modelPackage
Constructor Detail |
---|
public ExpressionsSwitch()
Method Detail |
---|
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.protected T doSwitch(EClass theEClass, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.protected T doSwitch(int classifierID, EObject theEObject)
caseXXX
for each class of the model until one returns a non null result; it yields that result.
caseXXX
call.public T caseDataReference(DataReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDataParameterSpecification(DataParameterSpecification object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInnerDataParameterReference(InnerDataParameterReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDataParameterReference(DataParameterReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseBooleanLiteral(BooleanLiteral object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIntegerLiteral(IntegerLiteral object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRealLiteral(RealLiteral object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStringLiteral(StringLiteral object)
object
- the target of the switch.
doSwitch(EObject)
public T caseUnaryExpression(UnaryExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseBinaryExpression(BinaryExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseIndexLiteral(IndexLiteral object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFunctionCallExpression(FunctionCallExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseFieldNavigationExpression(FieldNavigationExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseDataNavigationExpression(DataNavigationExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseArrayNavigationExpression(ArrayNavigationExpression object)
object
- the target of the switch.
doSwitch(EObject)
public T caseRequiredDataParameterReference(RequiredDataParameterReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseStateReference(StateReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInterfaceVariableReference(InterfaceVariableReference object)
object
- the target of the switch.
doSwitch(EObject)
public T casePointerLiteral(PointerLiteral object)
object
- the target of the switch.
doSwitch(EObject)
public T caseInnerInterfaceVariableReference(InnerInterfaceVariableReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseVariableReference(VariableReference object)
object
- the target of the switch.
doSwitch(EObject)
public T caseAction(Action object)
object
- the target of the switch.
doSwitch(EObject)
public T caseExpression(Expression 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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |