Class StatementsSwitch<T>
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.emftext.language.java.statements.util.StatementsSwitch<T>
-
public class StatementsSwitch<T> extends Switch<T>
The Switch for the model's inheritance hierarchy. It supports the calldoSwitch(object)
to invoke thecaseXXX
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:
StatementsPackage
- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StatementsPackage
modelPackage
The cached model package
-
Constructor Summary
Constructors Constructor Description StatementsSwitch()
Creates an instance of the switch.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
caseAdditiveExpressionChild(AdditiveExpressionChild object)
Returns the result of interpreting the object as an instance of 'Additive Expression Child'.T
caseAndExpressionChild(AndExpressionChild object)
Returns the result of interpreting the object as an instance of 'And Expression Child'.T
caseAnnotationValue(AnnotationValue object)
Returns the result of interpreting the object as an instance of 'Annotation Value'.T
caseArrayInitializationValue(ArrayInitializationValue object)
Returns the result of interpreting the object as an instance of 'Array Initialization Value'.T
caseAssert(Assert object)
Returns the result of interpreting the object as an instance of 'Assert'.T
caseAssignmentExpressionChild(AssignmentExpressionChild object)
Returns the result of interpreting the object as an instance of 'Assignment Expression Child'.T
caseBlock(Block object)
Returns the result of interpreting the object as an instance of 'Block'.T
caseBlockContainer(BlockContainer object)
Returns the result of interpreting the object as an instance of 'Block Container'.T
caseBreak(Break object)
Returns the result of interpreting the object as an instance of 'Break'.T
caseCatchBlock(CatchBlock object)
Returns the result of interpreting the object as an instance of 'Catch Block'.T
caseCommentable(Commentable object)
Returns the result of interpreting the object as an instance of 'Commentable'.T
caseCondition(Condition object)
Returns the result of interpreting the object as an instance of 'Condition'.T
caseConditional(Conditional object)
Returns the result of interpreting the object as an instance of 'Conditional'.T
caseConditionalAndExpressionChild(ConditionalAndExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional And Expression Child'.T
caseConditionalExpressionChild(ConditionalExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Expression Child'.T
caseConditionalOrExpressionChild(ConditionalOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Or Expression Child'.T
caseContinue(Continue object)
Returns the result of interpreting the object as an instance of 'Continue'.T
caseDefaultSwitchCase(DefaultSwitchCase object)
Returns the result of interpreting the object as an instance of 'Default Switch Case'.T
caseDefaultSwitchRule(DefaultSwitchRule object)
Returns the result of interpreting the object as an instance of 'Default Switch Rule'.T
caseDoWhileLoop(DoWhileLoop object)
Returns the result of interpreting the object as an instance of 'Do While Loop'.T
caseEmptyStatement(EmptyStatement object)
Returns the result of interpreting the object as an instance of 'Empty Statement'.T
caseEqualityExpressionChild(EqualityExpressionChild object)
Returns the result of interpreting the object as an instance of 'Equality Expression Child'.T
caseExclusiveOrExpressionChild(ExclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Exclusive Or Expression Child'.T
caseExpression(Expression object)
Returns the result of interpreting the object as an instance of 'Expression'.T
caseExpressionStatement(ExpressionStatement object)
Returns the result of interpreting the object as an instance of 'Expression Statement'.T
caseForEachLoop(ForEachLoop object)
Returns the result of interpreting the object as an instance of 'For Each Loop'.T
caseForLoop(ForLoop object)
Returns the result of interpreting the object as an instance of 'For Loop'.T
caseForLoopInitializer(ForLoopInitializer object)
Returns the result of interpreting the object as an instance of 'For Loop Initializer'.T
caseInclusiveOrExpressionChild(InclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Inclusive Or Expression Child'.T
caseInstanceOfExpressionChild(InstanceOfExpressionChild object)
Returns the result of interpreting the object as an instance of 'Instance Of Expression Child'.T
caseJump(Jump object)
Returns the result of interpreting the object as an instance of 'Jump'.T
caseJumpLabel(JumpLabel object)
Returns the result of interpreting the object as an instance of 'Jump Label'.T
caseLambdaBody(LambdaBody object)
Returns the result of interpreting the object as an instance of 'Lambda Body'.T
caseLocalVariableStatement(LocalVariableStatement object)
Returns the result of interpreting the object as an instance of 'Local Variable Statement'.T
caseMember(Member object)
Returns the result of interpreting the object as an instance of 'Member'.T
caseModifiable(Modifiable object)
Returns the result of interpreting the object as an instance of 'Modifiable'.T
caseMultiplicativeExpressionChild(MultiplicativeExpressionChild object)
Returns the result of interpreting the object as an instance of 'Multiplicative Expression Child'.T
caseNamedElement(NamedElement object)
Returns the result of interpreting the object as an instance of 'Named Element'.T
caseNormalSwitchCase(NormalSwitchCase object)
Returns the result of interpreting the object as an instance of 'Normal Switch Case'.T
caseNormalSwitchRule(NormalSwitchRule object)
Returns the result of interpreting the object as an instance of 'Normal Switch Rule'.T
caseRelationExpressionChild(RelationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Relation Expression Child'.T
caseReturn(Return object)
Returns the result of interpreting the object as an instance of 'Return'.T
caseShiftExpressionChild(ShiftExpressionChild object)
Returns the result of interpreting the object as an instance of 'Shift Expression Child'.T
caseStatement(Statement object)
Returns the result of interpreting the object as an instance of 'Statement'.T
caseStatementContainer(StatementContainer object)
Returns the result of interpreting the object as an instance of 'Statement Container'.T
caseStatementListContainer(StatementListContainer object)
Returns the result of interpreting the object as an instance of 'Statement List Container'.T
caseSwitch(Switch object)
Returns the result of interpreting the object as an instance of 'Switch'.T
caseSwitchCase(SwitchCase object)
Returns the result of interpreting the object as an instance of 'Switch Case'.T
caseSwitchRule(SwitchRule object)
Returns the result of interpreting the object as an instance of 'Switch Rule'.T
caseSynchronizedBlock(SynchronizedBlock object)
Returns the result of interpreting the object as an instance of 'Synchronized Block'.T
caseThrow(Throw object)
Returns the result of interpreting the object as an instance of 'Throw'.T
caseTryBlock(TryBlock object)
Returns the result of interpreting the object as an instance of 'Try Block'.T
caseUnaryExpressionChild(UnaryExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Expression Child'.T
caseUnaryModificationExpressionChild(UnaryModificationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Modification Expression Child'.T
caseWhileLoop(WhileLoop object)
Returns the result of interpreting the object as an instance of 'While Loop'.T
caseYieldStatement(YieldStatement object)
Returns the result of interpreting the object as an instance of 'Yield Statement'.T
defaultCase(EObject object)
Returns the result of interpreting the object as an instance of 'EObject'.protected T
doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.protected boolean
isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.
-
-
-
Field Detail
-
modelPackage
protected static StatementsPackage modelPackage
The cached model package- Generated class or method.
-
-
Method Detail
-
isSwitchFor
protected boolean isSwitchFor(EPackage ePackage)
Checks whether this is a switch for the given package.- Specified by:
isSwitchFor
in classSwitch<T>
- Parameters:
ePackage
- the package in question.- Returns:
- whether this is a switch for the given package.
- Generated class or method.
-
doSwitch
protected T doSwitch(int classifierID, EObject theEObject)
CallscaseXXX
for each class of the model until one returns a non null result; it yields that result.
-
caseStatementContainer
public T caseStatementContainer(StatementContainer object)
Returns the result of interpreting the object as an instance of 'Statement Container'. 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 Container'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseStatementListContainer
public T caseStatementListContainer(StatementListContainer object)
Returns the result of interpreting the object as an instance of 'Statement List Container'. 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 List Container'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditional
public T caseConditional(Conditional object)
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)
- Generated class or method.
-
caseForLoopInitializer
public T caseForLoopInitializer(ForLoopInitializer object)
Returns the result of interpreting the object as an instance of 'For Loop Initializer'. 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 Loop Initializer'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseStatement
public T caseStatement(Statement object)
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)
- Generated class or method.
-
caseSwitchCase
public T caseSwitchCase(SwitchCase object)
Returns the result of interpreting the object as an instance of 'Switch Case'. 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 'Switch Case'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAssert
public T caseAssert(Assert object)
Returns the result of interpreting the object as an instance of 'Assert'. 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 'Assert'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseBreak
public T caseBreak(Break object)
Returns the result of interpreting the object as an instance of 'Break'. 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'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseBlock
public T caseBlock(Block object)
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)
- Generated class or method.
-
caseCatchBlock
public T caseCatchBlock(CatchBlock object)
Returns the result of interpreting the object as an instance of 'Catch 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 'Catch Block'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseCondition
public T caseCondition(Condition object)
Returns the result of interpreting the object as an instance of 'Condition'. 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 'Condition'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseContinue
public T caseContinue(Continue object)
Returns the result of interpreting the object as an instance of 'Continue'. 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'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseDefaultSwitchCase
public T caseDefaultSwitchCase(DefaultSwitchCase object)
Returns the result of interpreting the object as an instance of 'Default Switch Case'. 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 'Default Switch Case'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseDoWhileLoop
public T caseDoWhileLoop(DoWhileLoop object)
Returns the result of interpreting the object as an instance of 'Do While Loop'. 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 'Do While Loop'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseEmptyStatement
public T caseEmptyStatement(EmptyStatement object)
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)
- Generated class or method.
-
caseExpressionStatement
public T caseExpressionStatement(ExpressionStatement object)
Returns the result of interpreting the object as an instance of 'Expression 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 'Expression Statement'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseForLoop
public T caseForLoop(ForLoop object)
Returns the result of interpreting the object as an instance of 'For Loop'. 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 Loop'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseForEachLoop
public T caseForEachLoop(ForEachLoop object)
Returns the result of interpreting the object as an instance of 'For Each Loop'. 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 Loop'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseJump
public T caseJump(Jump object)
Returns the result of interpreting the object as an instance of 'Jump'. 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 'Jump'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseJumpLabel
public T caseJumpLabel(JumpLabel object)
Returns the result of interpreting the object as an instance of 'Jump 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 'Jump Label'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLocalVariableStatement
public T caseLocalVariableStatement(LocalVariableStatement object)
Returns the result of interpreting the object as an instance of 'Local Variable 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 'Local Variable Statement'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseNormalSwitchCase
public T caseNormalSwitchCase(NormalSwitchCase object)
Returns the result of interpreting the object as an instance of 'Normal Switch Case'. 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 'Normal Switch Case'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseReturn
public T caseReturn(Return object)
Returns the result of interpreting the object as an instance of 'Return'. 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'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSwitch
public T caseSwitch(Switch object)
Returns the result of interpreting the object as an instance of 'Switch'. 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 'Switch'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSynchronizedBlock
public T caseSynchronizedBlock(SynchronizedBlock object)
Returns the result of interpreting the object as an instance of 'Synchronized 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 'Synchronized Block'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseThrow
public T caseThrow(Throw object)
Returns the result of interpreting the object as an instance of 'Throw'. 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 'Throw'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseTryBlock
public T caseTryBlock(TryBlock object)
Returns the result of interpreting the object as an instance of 'Try 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 'Try Block'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseWhileLoop
public T caseWhileLoop(WhileLoop object)
Returns the result of interpreting the object as an instance of 'While Loop'. 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 Loop'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseBlockContainer
public T caseBlockContainer(BlockContainer object)
Returns the result of interpreting the object as an instance of 'Block Container'. 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 Container'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseYieldStatement
public T caseYieldStatement(YieldStatement object)
Returns the result of interpreting the object as an instance of 'Yield 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 'Yield Statement'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseSwitchRule
public T caseSwitchRule(SwitchRule object)
Returns the result of interpreting the object as an instance of 'Switch Rule'. 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 'Switch Rule'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseDefaultSwitchRule
public T caseDefaultSwitchRule(DefaultSwitchRule object)
Returns the result of interpreting the object as an instance of 'Default Switch Rule'. 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 'Default Switch Rule'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseNormalSwitchRule
public T caseNormalSwitchRule(NormalSwitchRule object)
Returns the result of interpreting the object as an instance of 'Normal Switch Rule'. 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 'Normal Switch Rule'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseCommentable
public T caseCommentable(Commentable object)
Returns the result of interpreting the object as an instance of 'Commentable'. 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 'Commentable'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseNamedElement
public T caseNamedElement(NamedElement object)
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)
- Generated class or method.
-
caseMember
public T caseMember(Member object)
Returns the result of interpreting the object as an instance of 'Member'. 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 'Member'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseModifiable
public T caseModifiable(Modifiable object)
Returns the result of interpreting the object as an instance of 'Modifiable'. 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 'Modifiable'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseLambdaBody
public T caseLambdaBody(LambdaBody object)
Returns the result of interpreting the object as an instance of 'Lambda Body'. 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 'Lambda Body'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseArrayInitializationValue
public T caseArrayInitializationValue(ArrayInitializationValue object)
Returns the result of interpreting the object as an instance of 'Array Initialization Value'. 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 'Array Initialization Value'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExpression
public T caseExpression(Expression object)
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)
- Generated class or method.
-
caseAnnotationValue
public T caseAnnotationValue(AnnotationValue object)
Returns the result of interpreting the object as an instance of 'Annotation Value'. 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 'Annotation Value'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAssignmentExpressionChild
public T caseAssignmentExpressionChild(AssignmentExpressionChild object)
Returns the result of interpreting the object as an instance of 'Assignment Expression Child'. 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 'Assignment Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalExpressionChild
public T caseConditionalExpressionChild(ConditionalExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Expression Child'. 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 Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalOrExpressionChild
public T caseConditionalOrExpressionChild(ConditionalOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional Or Expression Child'. 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 Or Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseConditionalAndExpressionChild
public T caseConditionalAndExpressionChild(ConditionalAndExpressionChild object)
Returns the result of interpreting the object as an instance of 'Conditional And Expression Child'. 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 And Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseInclusiveOrExpressionChild
public T caseInclusiveOrExpressionChild(InclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Inclusive Or Expression Child'. 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 'Inclusive Or Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseExclusiveOrExpressionChild
public T caseExclusiveOrExpressionChild(ExclusiveOrExpressionChild object)
Returns the result of interpreting the object as an instance of 'Exclusive Or Expression Child'. 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 'Exclusive Or Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAndExpressionChild
public T caseAndExpressionChild(AndExpressionChild object)
Returns the result of interpreting the object as an instance of 'And Expression Child'. 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 Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseEqualityExpressionChild
public T caseEqualityExpressionChild(EqualityExpressionChild object)
Returns the result of interpreting the object as an instance of 'Equality Expression Child'. 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 Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseInstanceOfExpressionChild
public T caseInstanceOfExpressionChild(InstanceOfExpressionChild object)
Returns the result of interpreting the object as an instance of 'Instance Of Expression Child'. 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 'Instance Of Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseRelationExpressionChild
public T caseRelationExpressionChild(RelationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Relation Expression Child'. 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 'Relation Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseShiftExpressionChild
public T caseShiftExpressionChild(ShiftExpressionChild object)
Returns the result of interpreting the object as an instance of 'Shift Expression Child'. 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 'Shift Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseAdditiveExpressionChild
public T caseAdditiveExpressionChild(AdditiveExpressionChild object)
Returns the result of interpreting the object as an instance of 'Additive Expression Child'. 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 'Additive Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseMultiplicativeExpressionChild
public T caseMultiplicativeExpressionChild(MultiplicativeExpressionChild object)
Returns the result of interpreting the object as an instance of 'Multiplicative Expression Child'. 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 'Multiplicative Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUnaryExpressionChild
public T caseUnaryExpressionChild(UnaryExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Expression Child'. 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 Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
caseUnaryModificationExpressionChild
public T caseUnaryModificationExpressionChild(UnaryModificationExpressionChild object)
Returns the result of interpreting the object as an instance of 'Unary Modification Expression Child'. 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 Modification Expression Child'.
- See Also:
doSwitch(EObject)
- Generated class or method.
-
defaultCase
public T defaultCase(EObject object)
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 classSwitch<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)
- Generated class or method.
-
-