public class AstSwitch
extends java.lang.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.
AstPackage| Modifier and Type | Field and Description |
|---|---|
protected static AstPackage |
modelPackage
The cached model package
|
| Constructor and Description |
|---|
AstSwitch()
Creates an instance of the switch
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
caseAdditiveExpression(AdditiveExpression object)
Returns the result of interpretting the object as an instance of 'Additive Expression'
|
java.lang.Object |
caseAdditiveOperator(AdditiveOperator object)
Returns the result of interpretting the object as an instance of 'Additive Operator'
|
java.lang.Object |
caseAdditiveSubExpression(AdditiveSubExpression object)
Returns the result of interpretting the object as an instance of 'Additive Sub Expression'
|
java.lang.Object |
caseAssignmentExpression(AssignmentExpression object)
Returns the result of interpretting the object as an instance of 'Assignment Expression'
|
java.lang.Object |
caseAssignmentOperator(AssignmentOperator object)
Returns the result of interpretting the object as an instance of 'Assignment Operator'
|
java.lang.Object |
caseCompoundExpression(CompoundExpression object)
Returns the result of interpretting the object as an instance of 'Compound Expression'
|
java.lang.Object |
caseConditionValueSet(ConditionValueSet object)
Returns the result of interpretting the object as an instance of 'Condition Value Set'
|
java.lang.Object |
caseDeclarator(Declarator object)
Returns the result of interpretting the object as an instance of 'Declarator'
|
java.lang.Object |
caseExpression(Expression object)
Returns the result of interpretting the object as an instance of 'Expression'
|
java.lang.Object |
caseFeatureCall(FeatureCall object)
Returns the result of interpretting the object as an instance of 'Feature Call'
|
java.lang.Object |
caseFeatureCallParameters(FeatureCallParameters object)
Returns the result of interpretting the object as an instance of 'Feature Call Parameters'
|
java.lang.Object |
caseGeneralExpression(GeneralExpression object)
Returns the result of interpretting the object as an instance of 'General Expression'
|
java.lang.Object |
caseIConditionValue(IConditionValue object)
Returns the result of interpretting the object as an instance of 'ICondition Value'
|
java.lang.Object |
caseIExpression(IExpression object)
Returns the result of interpretting the object as an instance of 'IExpression'
|
java.lang.Object |
caseIfExpression(IfExpression object)
Returns the result of interpretting the object as an instance of 'If Expression'
|
java.lang.Object |
caseIPrimaryExpression(IPrimaryExpression object)
Returns the result of interpretting the object as an instance of 'IPrimary Expression'
|
java.lang.Object |
caseLiteral(Literal object)
Returns the result of interpretting the object as an instance of 'Literal'
|
java.lang.Object |
caseLiteralCollection(LiteralCollection object)
Returns the result of interpretting the object as an instance of 'Literal Collection'
|
java.lang.Object |
caseLogicalExpression(LogicalExpression object)
Returns the result of interpretting the object as an instance of 'Logical Expression'
|
java.lang.Object |
caseLogicalOperator(LogicalOperator object)
Returns the result of interpretting the object as an instance of 'Logical Operator'
|
java.lang.Object |
caseLogicalSubExpression(LogicalSubExpression object)
Returns the result of interpretting the object as an instance of 'Logical Sub Expression'
|
java.lang.Object |
caseMultiplicativeExpression(MultiplicativeExpression object)
Returns the result of interpretting the object as an instance of 'Multiplicative Expression'
|
java.lang.Object |
caseMultiplicativeOperator(MultiplicativeOperator object)
Returns the result of interpretting the object as an instance of 'Multiplicative Operator'
|
java.lang.Object |
caseMultiplicativeSubExpression(MultiplicativeSubExpression object)
Returns the result of interpretting the object as an instance of 'Multiplicative Sub Expression'
|
java.lang.Object |
caseName(Name object)
Returns the result of interpretting the object as an instance of 'Name'
|
java.lang.Object |
caseParameterList(ParameterList object)
Returns the result of interpretting the object as an instance of 'Parameter List'
|
java.lang.Object |
casePathName(PathName object)
Returns the result of interpretting the object as an instance of 'Path Name'
|
java.lang.Object |
casePostfixExpression(PostfixExpression object)
Returns the result of interpretting the object as an instance of 'Postfix Expression'
|
java.lang.Object |
casePrimaryExpression(PrimaryExpression object)
Returns the result of interpretting the object as an instance of 'Primary Expression'
|
java.lang.Object |
caseQualifiers(Qualifiers object)
Returns the result of interpretting the object as an instance of 'Qualifiers'
|
java.lang.Object |
caseRangeExpression(RangeExpression object)
Returns the result of interpretting the object as an instance of 'Range Expression'
|
java.lang.Object |
caseRelationalExpression(RelationalExpression object)
Returns the result of interpretting the object as an instance of 'Relational Expression'
|
java.lang.Object |
caseRelationalOperator(RelationalOperator object)
Returns the result of interpretting the object as an instance of 'Relational Operator'
|
java.lang.Object |
caseRelationalSubExpression(RelationalSubExpression object)
Returns the result of interpretting the object as an instance of 'Relational Sub Expression'
|
java.lang.Object |
caseRuleStatement(RuleStatement object)
Returns the result of interpretting the object as an instance of 'Rule Statement'
|
java.lang.Object |
caseTypeSpecifier(TypeSpecifier object)
Returns the result of interpretting the object as an instance of 'Type Specifier'
|
java.lang.Object |
caseUnaryExpression(UnaryExpression object)
Returns the result of interpretting the object as an instance of 'Unary Expression'
|
java.lang.Object |
caseUnaryOperator(UnaryOperator object)
Returns the result of interpretting the object as an instance of 'Unary Operator'
|
java.lang.Object |
caseValueSet(ValueSet object)
Returns the result of interpretting the object as an instance of 'Value Set'
|
java.lang.Object |
defaultCase(org.eclipse.emf.ecore.EObject object)
Returns the result of interpretting the object as an instance of 'EObject'
|
protected java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EClass theEClass,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result |
java.lang.Object |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result |
protected java.lang.Object |
doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
Calls
caseXXX for each class of the model until one returns a non null result; it yields that result |
protected static AstPackage modelPackage
public java.lang.Object doSwitch(org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.protected java.lang.Object doSwitch(org.eclipse.emf.ecore.EClass theEClass,
org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.protected java.lang.Object doSwitch(int classifierID,
org.eclipse.emf.ecore.EObject theEObject)
caseXXX for each class of the model until one returns a non null result; it yields that result.
caseXXX call.public java.lang.Object caseAdditiveExpression(AdditiveExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseAdditiveOperator(AdditiveOperator object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseAdditiveSubExpression(AdditiveSubExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseAssignmentExpression(AssignmentExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseAssignmentOperator(AssignmentOperator object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseCompoundExpression(CompoundExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseDeclarator(Declarator object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseExpression(Expression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseFeatureCall(FeatureCall object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseFeatureCallParameters(FeatureCallParameters object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseGeneralExpression(GeneralExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseIExpression(IExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseIfExpression(IfExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseIPrimaryExpression(IPrimaryExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseLiteral(Literal object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseLiteralCollection(LiteralCollection object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseLogicalExpression(LogicalExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseLogicalOperator(LogicalOperator object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseLogicalSubExpression(LogicalSubExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseMultiplicativeExpression(MultiplicativeExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseMultiplicativeOperator(MultiplicativeOperator object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseMultiplicativeSubExpression(MultiplicativeSubExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseParameterList(ParameterList object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object casePathName(PathName object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object casePostfixExpression(PostfixExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object casePrimaryExpression(PrimaryExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseQualifiers(Qualifiers object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseRangeExpression(RangeExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseRelationalExpression(RelationalExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseRelationalOperator(RelationalOperator object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseRelationalSubExpression(RelationalSubExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseTypeSpecifier(TypeSpecifier object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseUnaryExpression(UnaryExpression object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseUnaryOperator(UnaryOperator object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseName(Name object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseIConditionValue(IConditionValue object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseConditionValueSet(ConditionValueSet object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseValueSet(ValueSet object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object caseRuleStatement(RuleStatement object)
object - the target of the switch.doSwitch(EObject)public java.lang.Object defaultCase(org.eclipse.emf.ecore.EObject object)
object - the target of the switch.doSwitch(org.eclipse.emf.ecore.EObject)Copyright © 2005-2013 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.