Class SaveInstructionParametersSwitch
java.lang.Object
org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch<Instruction>
org.eclipse.m2m.atl.emftvm.impl.resource.SaveInstructionParametersSwitch
Saves
Instruction parameters to a DataOutputStream.-
Field Summary
FieldsFields inherited from class org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch
modelPackage -
Constructor Summary
ConstructorsConstructorDescriptionSaveInstructionParametersSwitch(DataOutputStream outputStream, ConstantPool constants) Creates a newSaveInstructionParametersSwitch. -
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Branch Instruction'.Returns the result of interpreting the object as an instance of 'Code Block Instruction'.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'.Returns the result of interpreting the object as an instance of 'Ifte'.Returns the result of interpreting the object as an instance of 'Invoke Instruction'.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 'Local Variable Instruction'.Returns the result of interpreting the object as an instance of 'Match'.Returns the result of interpreting the object as an instance of 'New'.Returns the result of interpreting the object as an instance of 'Push'.Methods inherited from class org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch
caseAdd, caseAllinst, caseAllinstIn, caseAnd, caseCodeBlock, caseDelete, caseDup, caseDupX1, caseEnditerate, caseExecEnv, caseFeature, caseField, caseFindtypeS, caseGet, caseGetcb, caseGetenv, caseGetenvtype, caseGetStatic, caseGetSuper, caseGetTrans, caseGoto, caseIf, caseIfn, caseImplies, caseInputRuleElement, caseInsert, caseInstruction, caseInvoke, caseInvokeAllCbs, caseInvokeCb, caseInvokeCbS, caseInvokeStatic, caseInvokeSuper, caseIsnull, caseIterate, caseLineNumber, caseLoad, caseLocalVariable, caseMatchS, caseMetamodel, caseModel, caseModelDeclaration, caseModule, caseNamedElement, caseNewS, caseNot, caseOperation, caseOr, caseOutputRuleElement, caseParameter, casePop, casePushf, casePusht, caseRemove, caseReturn, caseRule, caseRuleElement, caseSet, caseSetStatic, caseStore, caseSwap, caseSwapX1, caseTypedElement, caseXor, defaultCase, doSwitch, doSwitch, doSwitch
-
Field Details
-
outputStream
-
constants
-
-
Constructor Details
-
SaveInstructionParametersSwitch
Creates a newSaveInstructionParametersSwitch.- Parameters:
outputStream- the output streamconstants- the constant pool
-
-
Method Details
-
caseBranchInstruction
Returns the result of interpreting the object as an instance of 'Branch Instruction'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseBranchInstructionin classEmftvmSwitch<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Branch Instruction'.
- 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<Instruction>- 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<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Findtype'.
- See Also:
-
caseInvokeInstruction
Returns the result of interpreting the object as an instance of 'Invoke Instruction'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseInvokeInstructionin classEmftvmSwitch<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Invoke Instruction'.
- 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<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Invoke Operation Instruction'.
- See Also:
-
caseLocalVariableInstruction
Returns the result of interpreting the object as an instance of 'Local Variable Instruction'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseLocalVariableInstructionin classEmftvmSwitch<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Local Variable 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<Instruction>- 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<Instruction>- 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<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Match'.
- See Also:
-
caseCodeBlockInstruction
Returns the result of interpreting the object as an instance of 'Code Block Instruction'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseCodeBlockInstructionin classEmftvmSwitch<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Code Block Instruction'.
- See Also:
-
caseIfte
Returns the result of interpreting the object as an instance of 'Ifte'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseIftein classEmftvmSwitch<Instruction>- Parameters:
object- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Ifte'.
- See Also:
-