Class ConstantPool.CreateConstantsSwitch
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch<Object>
org.eclipse.m2m.atl.emftvm.impl.resource.ConstantPool.CreateConstantsSwitch
- Enclosing class:
- ConstantPool
Creates constant pool entries for EMFTVM elements.
-
Field Summary
Fields inherited from class org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch
modelPackage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncaseCodeBlock
(CodeBlock object) Returns the result of interpreting the object as an instance of 'Code Block'.caseFeature
(Feature object) Returns the result of interpreting the object as an instance of 'Feature'.Returns the result of interpreting the object as an instance of 'Field'.caseFieldInstruction
(FieldInstruction object) Returns the result of interpreting the object as an instance of 'Field Instruction'.caseFindtype
(Findtype object) Returns the result of interpreting the object as an instance of 'Findtype'.caseInputRuleElement
(InputRuleElement object) Returns the result of interpreting the object as an instance of 'Input Rule Element'.Returns the result of interpreting the object as an instance of 'Invoke Operation Instruction'.Returns the result of interpreting the object as an instance of 'Match'.caseModelDeclaration
(ModelDeclaration object) Returns the result of interpreting the object as an instance of 'Model Declaration'.caseModule
(Module object) Returns the result of interpreting the object as an instance of 'Module'.caseNamedElement
(NamedElement object) Returns the result of interpreting the object as an instance of 'Named Element'.Returns the result of interpreting the object as an instance of 'New'.caseOperation
(Operation object) Returns the result of interpreting the object as an instance of 'Operation'.Returns the result of interpreting the object as an instance of 'Push'.Returns the result of interpreting the object as an instance of 'Rule'.caseRuleElement
(RuleElement object) Returns the result of interpreting the object as an instance of 'Rule Element'.caseTypedElement
(TypedElement object) Returns the result of interpreting the object as an instance of 'Typed Element'.Methods inherited from class org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch
caseAdd, caseAllinst, caseAllinstIn, caseAnd, caseBranchInstruction, caseCodeBlockInstruction, caseDelete, caseDup, caseDupX1, caseEnditerate, caseExecEnv, caseFindtypeS, caseGet, caseGetcb, caseGetenv, caseGetenvtype, caseGetStatic, caseGetSuper, caseGetTrans, caseGoto, caseIf, caseIfn, caseIfte, caseImplies, caseInsert, caseInstruction, caseInvoke, caseInvokeAllCbs, caseInvokeCb, caseInvokeCbS, caseInvokeInstruction, caseInvokeStatic, caseInvokeSuper, caseIsnull, caseIterate, caseLineNumber, caseLoad, caseLocalVariable, caseLocalVariableInstruction, caseMatchS, caseMetamodel, caseModel, caseNewS, caseNot, caseOr, caseOutputRuleElement, caseParameter, casePop, casePushf, casePusht, caseRemove, caseReturn, caseSet, caseSetStatic, caseStore, caseSwap, caseSwapX1, caseXor, defaultCase, doSwitch, doSwitch, doSwitch
-
Constructor Details
-
CreateConstantsSwitch
public CreateConstantsSwitch()
-
-
Method Details
-
caseNamedElement
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.- Overrides:
caseNamedElement
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Named Element'.
- See Also:
-
caseTypedElement
Returns the result of interpreting the object as an instance of 'Typed Element'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseTypedElement
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Typed Element'.
- See Also:
-
caseFeature
Returns the result of interpreting the object as an instance of 'Feature'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseFeature
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Feature'.
- See Also:
-
caseCodeBlock
Returns the result of interpreting the object as an instance of 'Code Block'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseCodeBlock
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Code Block'.
- See Also:
-
caseModule
Returns the result of interpreting the object as an instance of 'Module'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseModule
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Module'.
- See Also:
-
caseOperation
Returns the result of interpreting the object as an instance of 'Operation'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseOperation
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Operation'.
- See Also:
-
caseRule
Returns the result of interpreting the object as an instance of 'Rule'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseRule
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Rule'.
- See Also:
-
caseRuleElement
Returns the result of interpreting the object as an instance of 'Rule Element'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseRuleElement
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Rule Element'.
- See Also:
-
caseInputRuleElement
Returns the result of interpreting the object as an instance of 'Input Rule Element'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseInputRuleElement
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Input Rule Element'.
- See Also:
-
caseFieldInstruction
Returns the result of interpreting the object as an instance of 'Field Instruction'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseFieldInstruction
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Field Instruction'.
- See Also:
-
caseFindtype
Returns the result of interpreting the object as an instance of 'Findtype'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseFindtype
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Findtype'.
- See Also:
-
caseInvokeOperationInstruction
Returns the result of interpreting the object as an instance of 'Invoke Operation Instruction'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseInvokeOperationInstruction
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Invoke Operation Instruction'.
- See Also:
-
caseNew
Returns the result of interpreting the object as an instance of 'New'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseNew
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'New'.
- See Also:
-
casePush
Returns the result of interpreting the object as an instance of 'Push'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
casePush
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Push'.
- See Also:
-
caseMatch
Returns the result of interpreting the object as an instance of 'Match'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseMatch
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Match'.
- See Also:
-
caseModelDeclaration
Returns the result of interpreting the object as an instance of 'Model Declaration'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseModelDeclaration
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Model Declaration'.
- See Also:
-
caseField
Returns the result of interpreting the object as an instance of 'Field'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseField
in classEmftvmSwitch<Object>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Field'.
- See Also:
-