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:
caseNamedElementin 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:
caseTypedElementin 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:
caseFeaturein 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:
caseCodeBlockin 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:
caseModulein 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:
caseOperationin 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:
caseRulein 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:
caseRuleElementin 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:
caseInputRuleElementin 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:
caseFieldInstructionin 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:
caseFindtypein 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:
caseInvokeOperationInstructionin 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:
caseNewin 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:
casePushin 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:
caseMatchin 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:
caseModelDeclarationin 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:
caseFieldin classEmftvmSwitch<Object>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Field'.
- See Also:
-