Class GremlinSwitch<T>
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
fr.inria.atlanmod.mogwai.gremlin.util.GremlinSwitch<T>
public class GremlinSwitch<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:
GremlinPackage
-
Field Summary
Fields Modifier and Type Field Description protected static GremlinPackagemodelPackageThe cached model package -
Constructor Summary
Constructors Constructor Description GremlinSwitch()Creates an instance of the switch. -
Method Summary
Modifier and Type Method Description TcaseAddAllCall(AddAllCall object)Returns the result of interpreting the object as an instance of 'Add All Call'.TcaseAffectationExpression(AffectationExpression object)Returns the result of interpreting the object as an instance of 'Affectation Expression'.TcaseAndExpression(AndExpression object)Returns the result of interpreting the object as an instance of 'And Expression'.TcaseBinaryExpression(BinaryExpression object)Returns the result of interpreting the object as an instance of 'Binary Expression'.TcaseBooleanLiteral(BooleanLiteral object)Returns the result of interpreting the object as an instance of 'Boolean Literal'.TcaseClosure(Closure object)Returns the result of interpreting the object as an instance of 'Closure'.TcaseClosureIt(ClosureIt object)Returns the result of interpreting the object as an instance of 'Closure It'.TcaseCollectionDefinition(CollectionDefinition object)Returns the result of interpreting the object as an instance of 'Collection Definition'.TcaseContainsAllCall(ContainsAllCall object)Returns the result of interpreting the object as an instance of 'Contains All Call'.TcaseContainsCall(ContainsCall object)Returns the result of interpreting the object as an instance of 'Contains Call'.TcaseCountCall(CountCall object)Returns the result of interpreting the object as an instance of 'Count Call'.TcaseCustomMethodCall(CustomMethodCall object)Returns the result of interpreting the object as an instance of 'Custom Method Call'.TcaseCustomStep(CustomStep object)Returns the result of interpreting the object as an instance of 'Custom Step'.TcaseDifferenceExpression(DifferenceExpression object)Returns the result of interpreting the object as an instance of 'Difference Expression'.TcaseDoubleLiteral(DoubleLiteral object)Returns the result of interpreting the object as an instance of 'Double Literal'.TcaseEdgesStep(EdgesStep object)Returns the result of interpreting the object as an instance of 'Edges Step'.TcaseEqualityExpression(EqualityExpression object)Returns the result of interpreting the object as an instance of 'Equality Expression'.TcaseExceptStep(ExceptStep object)Returns the result of interpreting the object as an instance of 'Except Step'.TcaseExpression(Expression object)Returns the result of interpreting the object as an instance of 'Expression'.TcaseFillStep(FillStep object)Returns the result of interpreting the object as an instance of 'Fill Step'.TcaseFilterStep(FilterStep object)Returns the result of interpreting the object as an instance of 'Filter Step'.TcaseFirstCall(FirstCall object)Returns the result of interpreting the object as an instance of 'First Call'.TcaseGatherStep(GatherStep object)Returns the result of interpreting the object as an instance of 'Gather Step'.TcaseGreaterExpression(GreaterExpression object)Returns the result of interpreting the object as an instance of 'Greater Expression'.TcaseGreaterOrEqualExpression(GreaterOrEqualExpression object)Returns the result of interpreting the object as an instance of 'Greater Or Equal Expression'.TcaseGremlinScript(GremlinScript object)Returns the result of interpreting the object as an instance of 'Script'.TcaseHasNextCall(HasNextCall object)Returns the result of interpreting the object as an instance of 'Has Next Call'.TcaseIdentityStep(IdentityStep object)Returns the result of interpreting the object as an instance of 'Identity Step'.TcaseIndexCall(IndexCall object)Returns the result of interpreting the object as an instance of 'Index Call'.TcaseInEStep(InEStep object)Returns the result of interpreting the object as an instance of 'In EStep'.TcaseInExpression(InExpression object)Returns the result of interpreting the object as an instance of 'In Expression'.TcaseInstruction(Instruction object)Returns the result of interpreting the object as an instance of 'Instruction'.TcaseIntegerLiteral(IntegerLiteral object)Returns the result of interpreting the object as an instance of 'Integer Literal'.TcaseIntersectionCall(IntersectionCall object)Returns the result of interpreting the object as an instance of 'Intersection Call'.TcaseInVStep(InVStep object)Returns the result of interpreting the object as an instance of 'In VStep'.TcaseIsEmptyCall(IsEmptyCall object)Returns the result of interpreting the object as an instance of 'Is Empty Call'.TcaseLeftShiftExpression(LeftShiftExpression object)Returns the result of interpreting the object as an instance of 'Left Shift Expression'.TcaseLessExpression(LessExpression object)Returns the result of interpreting the object as an instance of 'Less Expression'.TcaseLessOrEqualExpression(LessOrEqualExpression object)Returns the result of interpreting the object as an instance of 'Less Or Equal Expression'.TcaseListDeclaration(ListDeclaration object)Returns the result of interpreting the object as an instance of 'List Declaration'.TcaseMethodCall(MethodCall object)Returns the result of interpreting the object as an instance of 'Method Call'.TcaseMethodDeclaration(MethodDeclaration object)Returns the result of interpreting the object as an instance of 'Method Declaration'.TcaseNextCall(NextCall object)Returns the result of interpreting the object as an instance of 'Next Call'.TcaseNotExpression(NotExpression object)Returns the result of interpreting the object as an instance of 'Not Expression'.TcaseNullLiteral(NullLiteral object)Returns the result of interpreting the object as an instance of 'Null Literal'.TcaseOrExpression(OrExpression object)Returns the result of interpreting the object as an instance of 'Or Expression'.TcaseOutEStep(OutEStep object)Returns the result of interpreting the object as an instance of 'Out EStep'.TcaseOutVStep(OutVStep object)Returns the result of interpreting the object as an instance of 'Out VStep'.TcasePlusExpression(PlusExpression object)Returns the result of interpreting the object as an instance of 'Plus Expression'.TcasePropertyStep(PropertyStep object)Returns the result of interpreting the object as an instance of 'Property Step'.TcaseRetainAllCall(RetainAllCall object)Returns the result of interpreting the object as an instance of 'Retain All Call'.TcaseRetainStep(RetainStep object)Returns the result of interpreting the object as an instance of 'Retain Step'.TcaseReturnStatement(ReturnStatement object)Returns the result of interpreting the object as an instance of 'Return Statement'.TcaseScatterStep(ScatterStep object)Returns the result of interpreting the object as an instance of 'Scatter Step'.TcaseSetDeclaration(SetDeclaration object)Returns the result of interpreting the object as an instance of 'Set Declaration'.TcaseSizeCall(SizeCall object)Returns the result of interpreting the object as an instance of 'Size Call'.TcaseSortedSetDeclaration(SortedSetDeclaration object)Returns the result of interpreting the object as an instance of 'Sorted Set Declaration'.TcaseStartStep(StartStep object)Returns the result of interpreting the object as an instance of 'Start Step'.TcaseStep(Step object)Returns the result of interpreting the object as an instance of 'Step'.TcaseStringLiteral(StringLiteral object)Returns the result of interpreting the object as an instance of 'String Literal'.TcaseTernaryOperator(TernaryOperator object)Returns the result of interpreting the object as an instance of 'Ternary Operator'.TcaseToIntegerCall(ToIntegerCall object)Returns the result of interpreting the object as an instance of 'To Integer Call'.TcaseToListCall(ToListCall object)Returns the result of interpreting the object as an instance of 'To List Call'.TcaseTransformStep(TransformStep object)Returns the result of interpreting the object as an instance of 'Transform Step'.TcaseTraversalElement(TraversalElement object)Returns the result of interpreting the object as an instance of 'Traversal Element'.TcaseTypeDeclaration(TypeDeclaration object)Returns the result of interpreting the object as an instance of 'Type Declaration'.TcaseUnaryExpression(UnaryExpression object)Returns the result of interpreting the object as an instance of 'Unary Expression'.TcaseUnionCall(UnionCall object)Returns the result of interpreting the object as an instance of 'Union Call'.TcaseVariableAccess(VariableAccess object)Returns the result of interpreting the object as an instance of 'Variable Access'.TcaseVariableDeclaration(VariableDeclaration object)Returns the result of interpreting the object as an instance of 'Variable Declaration'.TcaseVerticesStep(VerticesStep object)Returns the result of interpreting the object as an instance of 'Vertices Step'.TdefaultCase(org.eclipse.emf.ecore.EObject object)Returns the result of interpreting the object as an instance of 'EObject'.protected TdoSwitch(int classifierID, org.eclipse.emf.ecore.EObject theEObject)CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.protected booleanisSwitchFor(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
-
GremlinSwitch
public GremlinSwitch()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:
isSwitchForin classorg.eclipse.emf.ecore.util.Switch<T>- Parameters:
ePackage- the package in question.- Returns:
- whether this is a switch for the given package.
-
doSwitch
CallscaseXXXfor each class of the model until one returns a non null result; it yields that result.- Overrides:
doSwitchin classorg.eclipse.emf.ecore.util.Switch<T>- Returns:
- the first non-null result returned by a
caseXXXcall.
-
caseGremlinScript
Returns the result of interpreting the object as an instance of 'Script'. 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 'Script'.
- See Also:
doSwitch(EObject)
-
caseInstruction
Returns the result of interpreting the object as an instance of 'Instruction'. 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 'Instruction'.
- 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)
-
caseMethodDeclaration
Returns the result of interpreting the object as an instance of 'Method Declaration'. 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 Declaration'.
- See Also:
doSwitch(EObject)
-
caseTypeDeclaration
Returns the result of interpreting the object as an instance of 'Type Declaration'. 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 Declaration'.
- See Also:
doSwitch(EObject)
-
caseListDeclaration
Returns the result of interpreting the object as an instance of 'List Declaration'. 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 'List Declaration'.
- See Also:
doSwitch(EObject)
-
caseSetDeclaration
Returns the result of interpreting the object as an instance of 'Set Declaration'. 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 'Set Declaration'.
- See Also:
doSwitch(EObject)
-
caseSortedSetDeclaration
Returns the result of interpreting the object as an instance of 'Sorted Set Declaration'. 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 'Sorted Set Declaration'.
- See Also:
doSwitch(EObject)
-
caseVariableDeclaration
Returns the result of interpreting the object as an instance of 'Variable Declaration'. 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 Declaration'.
- See Also:
doSwitch(EObject)
-
caseTraversalElement
Returns the result of interpreting the object as an instance of 'Traversal 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 'Traversal Element'.
- See Also:
doSwitch(EObject)
-
caseCollectionDefinition
Returns the result of interpreting the object as an instance of 'Collection Definition'. 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 'Collection Definition'.
- See Also:
doSwitch(EObject)
-
caseClosure
Returns the result of interpreting the object as an instance of 'Closure'. 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 'Closure'.
- See Also:
doSwitch(EObject)
-
caseClosureIt
Returns the result of interpreting the object as an instance of 'Closure It'. 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 'Closure It'.
- See Also:
doSwitch(EObject)
-
caseVariableAccess
Returns the result of interpreting the object as an instance of 'Variable 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 'Variable Access'.
- See Also:
doSwitch(EObject)
-
caseStep
Returns the result of interpreting the object as an instance of 'Step'. 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 'Step'.
- See Also:
doSwitch(EObject)
-
caseIdentityStep
Returns the result of interpreting the object as an instance of 'Identity Step'. 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 'Identity Step'.
- See Also:
doSwitch(EObject)
-
caseFillStep
Returns the result of interpreting the object as an instance of 'Fill Step'. 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 'Fill Step'.
- See Also:
doSwitch(EObject)
-
caseStartStep
Returns the result of interpreting the object as an instance of 'Start Step'. 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 'Start Step'.
- See Also:
doSwitch(EObject)
-
caseVerticesStep
Returns the result of interpreting the object as an instance of 'Vertices Step'. 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 'Vertices Step'.
- See Also:
doSwitch(EObject)
-
caseEdgesStep
Returns the result of interpreting the object as an instance of 'Edges Step'. 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 'Edges Step'.
- See Also:
doSwitch(EObject)
-
casePropertyStep
Returns the result of interpreting the object as an instance of 'Property Step'. 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 Step'.
- See Also:
doSwitch(EObject)
-
caseOutEStep
Returns the result of interpreting the object as an instance of 'Out EStep'. 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 'Out EStep'.
- See Also:
doSwitch(EObject)
-
caseInEStep
Returns the result of interpreting the object as an instance of 'In EStep'. 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 'In EStep'.
- See Also:
doSwitch(EObject)
-
caseInVStep
Returns the result of interpreting the object as an instance of 'In VStep'. 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 'In VStep'.
- See Also:
doSwitch(EObject)
-
caseOutVStep
Returns the result of interpreting the object as an instance of 'Out VStep'. 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 'Out VStep'.
- See Also:
doSwitch(EObject)
-
caseFilterStep
Returns the result of interpreting the object as an instance of 'Filter Step'. 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 'Filter Step'.
- See Also:
doSwitch(EObject)
-
caseRetainStep
Returns the result of interpreting the object as an instance of 'Retain Step'. 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 'Retain Step'.
- See Also:
doSwitch(EObject)
-
caseExceptStep
Returns the result of interpreting the object as an instance of 'Except Step'. 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 'Except Step'.
- See Also:
doSwitch(EObject)
-
caseTransformStep
Returns the result of interpreting the object as an instance of 'Transform Step'. 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 'Transform Step'.
- See Also:
doSwitch(EObject)
-
caseGatherStep
Returns the result of interpreting the object as an instance of 'Gather Step'. 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 'Gather Step'.
- See Also:
doSwitch(EObject)
-
caseScatterStep
Returns the result of interpreting the object as an instance of 'Scatter Step'. 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 'Scatter Step'.
- See Also:
doSwitch(EObject)
-
caseMethodCall
Returns the result of interpreting the object as an instance of 'Method Call'. 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 Call'.
- See Also:
doSwitch(EObject)
-
caseCustomMethodCall
Returns the result of interpreting the object as an instance of 'Custom Method Call'. 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 'Custom Method Call'.
- See Also:
doSwitch(EObject)
-
caseNextCall
Returns the result of interpreting the object as an instance of 'Next Call'. 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 'Next Call'.
- See Also:
doSwitch(EObject)
-
caseHasNextCall
Returns the result of interpreting the object as an instance of 'Has Next Call'. 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 'Has Next Call'.
- See Also:
doSwitch(EObject)
-
caseIndexCall
Returns the result of interpreting the object as an instance of 'Index Call'. 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 Call'.
- See Also:
doSwitch(EObject)
-
caseCountCall
Returns the result of interpreting the object as an instance of 'Count Call'. 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 'Count Call'.
- See Also:
doSwitch(EObject)
-
caseFirstCall
Returns the result of interpreting the object as an instance of 'First Call'. 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 'First Call'.
- See Also:
doSwitch(EObject)
-
caseToListCall
Returns the result of interpreting the object as an instance of 'To List Call'. 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 'To List Call'.
- See Also:
doSwitch(EObject)
-
caseIsEmptyCall
Returns the result of interpreting the object as an instance of 'Is Empty Call'. 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 'Is Empty Call'.
- See Also:
doSwitch(EObject)
-
caseContainsCall
Returns the result of interpreting the object as an instance of 'Contains Call'. 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 'Contains Call'.
- See Also:
doSwitch(EObject)
-
caseContainsAllCall
Returns the result of interpreting the object as an instance of 'Contains All Call'. 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 'Contains All Call'.
- See Also:
doSwitch(EObject)
-
caseAddAllCall
Returns the result of interpreting the object as an instance of 'Add All Call'. 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 All Call'.
- See Also:
doSwitch(EObject)
-
caseRetainAllCall
Returns the result of interpreting the object as an instance of 'Retain All Call'. 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 'Retain All Call'.
- See Also:
doSwitch(EObject)
-
caseUnionCall
Returns the result of interpreting the object as an instance of 'Union Call'. 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 'Union Call'.
- See Also:
doSwitch(EObject)
-
caseIntersectionCall
Returns the result of interpreting the object as an instance of 'Intersection Call'. 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 'Intersection Call'.
- See Also:
doSwitch(EObject)
-
caseSizeCall
Returns the result of interpreting the object as an instance of 'Size Call'. 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 'Size Call'.
- 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)
-
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)
-
caseNotExpression
Returns the result of interpreting the object as an instance of 'Not 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 'Not 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)
-
caseEqualityExpression
Returns the result of interpreting the object as an instance of 'Equality 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 'Equality Expression'.
- See Also:
doSwitch(EObject)
-
caseInExpression
Returns the result of interpreting the object as an instance of 'In 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 'In Expression'.
- See Also:
doSwitch(EObject)
-
caseDifferenceExpression
Returns the result of interpreting the object as an instance of 'Difference 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 'Difference Expression'.
- See Also:
doSwitch(EObject)
-
caseOrExpression
Returns the result of interpreting the object as an instance of 'Or 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 'Or Expression'.
- See Also:
doSwitch(EObject)
-
caseAndExpression
Returns the result of interpreting the object as an instance of 'And 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 'And Expression'.
- See Also:
doSwitch(EObject)
-
caseGreaterExpression
Returns the result of interpreting the object as an instance of 'Greater 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 'Greater Expression'.
- See Also:
doSwitch(EObject)
-
caseGreaterOrEqualExpression
Returns the result of interpreting the object as an instance of 'Greater Or Equal 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 'Greater Or Equal Expression'.
- See Also:
doSwitch(EObject)
-
caseLessExpression
Returns the result of interpreting the object as an instance of 'Less 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 'Less Expression'.
- See Also:
doSwitch(EObject)
-
caseLessOrEqualExpression
Returns the result of interpreting the object as an instance of 'Less Or Equal 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 'Less Or Equal Expression'.
- See Also:
doSwitch(EObject)
-
caseAffectationExpression
Returns the result of interpreting the object as an instance of 'Affectation 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 'Affectation Expression'.
- See Also:
doSwitch(EObject)
-
caseLeftShiftExpression
Returns the result of interpreting the object as an instance of 'Left Shift 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 'Left Shift Expression'.
- See Also:
doSwitch(EObject)
-
caseTernaryOperator
Returns the result of interpreting the object as an instance of 'Ternary Operator'. 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 'Ternary Operator'.
- 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)
-
caseIntegerLiteral
Returns the result of interpreting the object as an instance of 'Integer 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 'Integer Literal'.
- See Also:
doSwitch(EObject)
-
caseDoubleLiteral
Returns the result of interpreting the object as an instance of 'Double 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 'Double 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)
-
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)
-
caseToIntegerCall
Returns the result of interpreting the object as an instance of 'To Integer Call'. 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 'To Integer Call'.
- See Also:
doSwitch(EObject)
-
casePlusExpression
Returns the result of interpreting the object as an instance of 'Plus 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 'Plus Expression'.
- See Also:
doSwitch(EObject)
-
caseCustomStep
Returns the result of interpreting the object as an instance of 'Custom Step'. 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 'Custom Step'.
- 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:
defaultCasein 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)
-