Class EmftvmSwitch<T>

java.lang.Object
org.eclipse.m2m.atl.emftvm.util.EmftvmSwitch<T>
Type Parameters:
T - the switched type
Direct Known Subclasses:
ByteCodeSwitch, ConstantPool.CreateConstantsSwitch, LabelSwitch, LoadInstructionParametersSwitch, SaveInstructionParametersSwitch

public class EmftvmSwitch<T> extends Object
The Switch for the model's inheritance hierarchy. It supports the call 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.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static EmftvmPackage
    The cached model package
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of the switch.
  • Method Summary

    Modifier and Type
    Method
    Description
    caseAdd(Add object)
    Returns the result of interpreting the object as an instance of 'Add'.
    Returns the result of interpreting the object as an instance of 'Allinst'.
    Returns the result of interpreting the object as an instance of 'Allinst In'.
    caseAnd(And object)
    Returns the result of interpreting the object as an instance of 'And'.
    Returns 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'.
    Returns the result of interpreting the object as an instance of 'Code Block Instruction'.
    Returns the result of interpreting the object as an instance of 'Delete'.
    caseDup(Dup object)
    Returns the result of interpreting the object as an instance of 'Dup'.
    caseDupX1(DupX1 object)
    Returns the result of interpreting the object as an instance of 'Dup X1'.
    Returns the result of interpreting the object as an instance of 'Enditerate'.
    Returns the result of interpreting the object as an instance of 'Exec Env'.
    Returns the result of interpreting the object as an instance of 'Feature'.
    caseField(Field object)
    Returns the result of interpreting the object as an instance of 'Field'.
    Returns the result of interpreting the object as an instance of 'Field Instruction'.
    Returns the result of interpreting the object as an instance of 'Findtype'.
    Returns the result of interpreting the object as an instance of 'Findtype S'.
    caseGet(Get object)
    Returns the result of interpreting the object as an instance of 'Get'.
    caseGetcb(Getcb object)
    Returns the result of interpreting the object as an instance of 'Getcb'.
    Returns the result of interpreting the object as an instance of 'Getenv'.
    Returns the result of interpreting the object as an instance of 'Getenvtype'.
    Returns the result of interpreting the object as an instance of 'Get Static'.
    Returns the result of interpreting the object as an instance of 'Get Super'.
    Returns the result of interpreting the object as an instance of 'Get Trans'.
    caseGoto(Goto object)
    Returns the result of interpreting the object as an instance of 'Goto'.
    caseIf(If object)
    Returns the result of interpreting the object as an instance of 'If'.
    caseIfn(Ifn object)
    Returns the result of interpreting the object as an instance of 'Ifn'.
    caseIfte(Ifte object)
    Returns the result of interpreting the object as an instance of 'Ifte'.
    Returns the result of interpreting the object as an instance of 'Implies'.
    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 'Insert'.
    Returns the result of interpreting the object as an instance of 'Instruction'.
    Returns the result of interpreting the object as an instance of 'Invoke'.
    Returns the result of interpreting the object as an instance of 'Invoke All Cbs'.
    Returns the result of interpreting the object as an instance of 'Invoke Cb'.
    Returns the result of interpreting the object as an instance of 'Invoke Cb S'.
    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 'Invoke Static'.
    Returns the result of interpreting the object as an instance of 'Invoke Super'.
    Returns the result of interpreting the object as an instance of 'Isnull'.
    Returns the result of interpreting the object as an instance of 'Iterate'.
    Returns the result of interpreting the object as an instance of 'Line Number'.
    caseLoad(Load object)
    Returns the result of interpreting the object as an instance of 'Load'.
    Returns the result of interpreting the object as an instance of 'Local Variable'.
    Returns the result of interpreting the object as an instance of 'Local Variable Instruction'.
    caseMatch(Match object)
    Returns the result of interpreting the object as an instance of 'Match'.
    Returns the result of interpreting the object as an instance of 'Match S'.
    Returns the result of interpreting the object as an instance of 'Metamodel'.
    caseModel(Model object)
    Returns the result of interpreting the object as an instance of 'Model'.
    Returns the result of interpreting the object as an instance of 'Model Declaration'.
    Returns the result of interpreting the object as an instance of 'Module'.
    Returns the result of interpreting the object as an instance of 'Named Element'.
    caseNew(New object)
    Returns the result of interpreting the object as an instance of 'New'.
    caseNewS(NewS object)
    Returns the result of interpreting the object as an instance of 'New S'.
    caseNot(Not object)
    Returns the result of interpreting the object as an instance of 'Not'.
    Returns the result of interpreting the object as an instance of 'Operation'.
    caseOr(Or object)
    Returns the result of interpreting the object as an instance of 'Or'.
    Returns the result of interpreting the object as an instance of 'Output Rule Element'.
    Returns the result of interpreting the object as an instance of 'Parameter'.
    casePop(Pop object)
    Returns the result of interpreting the object as an instance of 'Pop'.
    casePush(Push object)
    Returns the result of interpreting the object as an instance of 'Push'.
    casePushf(Pushf object)
    Returns the result of interpreting the object as an instance of 'Pushf'.
    casePusht(Pusht object)
    Returns the result of interpreting the object as an instance of 'Pusht'.
    Returns the result of interpreting the object as an instance of 'Remove'.
    Returns the result of interpreting the object as an instance of 'Return'.
    caseRule(Rule object)
    Returns the result of interpreting the object as an instance of 'Rule'.
    Returns the result of interpreting the object as an instance of 'Rule Element'.
    caseSet(Set object)
    Returns the result of interpreting the object as an instance of 'Set'.
    Returns the result of interpreting the object as an instance of 'Set Static'.
    caseStore(Store object)
    Returns the result of interpreting the object as an instance of 'Store'.
    caseSwap(Swap object)
    Returns the result of interpreting the object as an instance of 'Swap'.
    Returns the result of interpreting the object as an instance of 'Swap X1'.
    Returns the result of interpreting the object as an instance of 'Typed Element'.
    caseXor(Xor object)
    Returns the result of interpreting the object as an instance of 'Xor'.
    defaultCase(org.eclipse.emf.ecore.EObject object)
    Returns the result of interpreting the object as an instance of 'EObject'.
    protected T
    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 T
    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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • modelPackage

      protected static EmftvmPackage modelPackage
      The cached model package
  • Constructor Details

    • EmftvmSwitch

      public EmftvmSwitch()
      Creates an instance of the switch.
  • Method Details

    • doSwitch

      public T 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.
      Returns:
      the first non-null result returned by a caseXXX call.
    • doSwitch

      protected T 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.
      Returns:
      the first non-null result returned by a caseXXX call.
    • doSwitch

      protected T 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.
      Parameters:
      classifierID - the classifier ID of the EClass of
      theEObject
      theEObject - the object to switch on
      Returns:
      the first non-null result returned by a caseXXX call.
    • caseModule

      public T caseModule(Module object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Module'.
      See Also:
    • caseModelDeclaration

      public T caseModelDeclaration(ModelDeclaration object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Model Declaration'.
      See Also:
    • caseFeature

      public T caseFeature(Feature object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Feature'.
      See Also:
    • caseField

      public T caseField(Field object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Field'.
      See Also:
    • caseOperation

      public T caseOperation(Operation object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Operation'.
      See Also:
    • 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:
    • caseParameter

      public T caseParameter(Parameter object)
      Returns the result of interpreting the object as an instance of 'Parameter'. 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 'Parameter'.
      See Also:
    • caseTypedElement

      public T caseTypedElement(TypedElement object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Typed Element'.
      See Also:
    • caseInstruction

      public T caseInstruction(Instruction object)
      Returns the result of interpreting the object as an instance of 'Instruction'. 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 'Instruction'.
      See Also:
    • caseLineNumber

      public T caseLineNumber(LineNumber object)
      Returns the result of interpreting the object as an instance of 'Line Number'. 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 'Line Number'.
      See Also:
    • caseLocalVariable

      public T caseLocalVariable(LocalVariable object)
      Returns the result of interpreting the object as an instance of 'Local Variable'. 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'.
      See Also:
    • caseRule

      public T caseRule(Rule object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rule'.
      See Also:
    • caseRuleElement

      public T caseRuleElement(RuleElement object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Rule Element'.
      See Also:
    • caseInputRuleElement

      public T caseInputRuleElement(InputRuleElement object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Input Rule Element'.
      See Also:
    • caseOutputRuleElement

      public T caseOutputRuleElement(OutputRuleElement object)
      Returns the result of interpreting the object as an instance of 'Output Rule 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 'Output Rule Element'.
      See Also:
    • caseCodeBlock

      public T caseCodeBlock(CodeBlock object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Code Block'.
      See Also:
    • casePush

      public T casePush(Push object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Push'.
      See Also:
    • casePusht

      public T casePusht(Pusht object)
      Returns the result of interpreting the object as an instance of 'Pusht'. 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 'Pusht'.
      See Also:
    • casePushf

      public T casePushf(Pushf object)
      Returns the result of interpreting the object as an instance of 'Pushf'. 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 'Pushf'.
      See Also:
    • casePop

      public T casePop(Pop object)
      Returns the result of interpreting the object as an instance of 'Pop'. 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 'Pop'.
      See Also:
    • caseLocalVariableInstruction

      public T caseLocalVariableInstruction(LocalVariableInstruction object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Local Variable Instruction'.
      See Also:
    • caseLoad

      public T caseLoad(Load object)
      Returns the result of interpreting the object as an instance of 'Load'. 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 'Load'.
      See Also:
    • caseStore

      public T caseStore(Store object)
      Returns the result of interpreting the object as an instance of 'Store'. 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 'Store'.
      See Also:
    • caseFieldInstruction

      public T caseFieldInstruction(FieldInstruction object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Field Instruction'.
      See Also:
    • caseSet

      public T caseSet(Set object)
      Returns the result of interpreting the object as an instance of 'Set'. 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 'Set'.
      See Also:
    • caseGet

      public T caseGet(Get object)
      Returns the result of interpreting the object as an instance of 'Get'. 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 'Get'.
      See Also:
    • caseGetTrans

      public T caseGetTrans(GetTrans object)
      Returns the result of interpreting the object as an instance of 'Get Trans'. 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 'Get Trans'.
      See Also:
    • caseSetStatic

      public T caseSetStatic(SetStatic object)
      Returns the result of interpreting the object as an instance of 'Set Static'. 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 'Set Static'.
      See Also:
    • caseGetStatic

      public T caseGetStatic(GetStatic object)
      Returns the result of interpreting the object as an instance of 'Get Static'. 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 'Get Static'.
      See Also:
    • caseFindtype

      public T caseFindtype(Findtype object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Findtype'.
      See Also:
    • caseFindtypeS

      public T caseFindtypeS(FindtypeS object)
      Returns the result of interpreting the object as an instance of 'Findtype S'. 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 'Findtype S'.
      See Also:
    • caseNew

      public T caseNew(New object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'New'.
      See Also:
    • caseNewS

      public T caseNewS(NewS object)
      Returns the result of interpreting the object as an instance of 'New S'. 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 'New S'.
      See Also:
    • caseDelete

      public T caseDelete(Delete object)
      Returns the result of interpreting the object as an instance of 'Delete'. 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 'Delete'.
      See Also:
    • caseDup

      public T caseDup(Dup object)
      Returns the result of interpreting the object as an instance of 'Dup'. 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 'Dup'.
      See Also:
    • caseDupX1

      public T caseDupX1(DupX1 object)
      Returns the result of interpreting the object as an instance of 'Dup X1'. 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 'Dup X1'.
      See Also:
    • caseSwap

      public T caseSwap(Swap object)
      Returns the result of interpreting the object as an instance of 'Swap'. 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 'Swap'.
      See Also:
    • caseSwapX1

      public T caseSwapX1(SwapX1 object)
      Returns the result of interpreting the object as an instance of 'Swap X1'. 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 'Swap X1'.
      See Also:
    • caseBranchInstruction

      public T caseBranchInstruction(BranchInstruction object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Branch Instruction'.
      See Also:
    • caseIf

      public T caseIf(If object)
      Returns the result of interpreting the object as an instance of 'If'. 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 'If'.
      See Also:
    • caseIfn

      public T caseIfn(Ifn object)
      Returns the result of interpreting the object as an instance of 'Ifn'. 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 'Ifn'.
      See Also:
    • caseGoto

      public T caseGoto(Goto object)
      Returns the result of interpreting the object as an instance of 'Goto'. 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 'Goto'.
      See Also:
    • caseIterate

      public T caseIterate(Iterate object)
      Returns the result of interpreting the object as an instance of 'Iterate'. 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 'Iterate'.
      See Also:
    • caseEnditerate

      public T caseEnditerate(Enditerate object)
      Returns the result of interpreting the object as an instance of 'Enditerate'. 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 'Enditerate'.
      See Also:
    • caseInvokeInstruction

      public T caseInvokeInstruction(InvokeInstruction object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Invoke Instruction'.
      See Also:
    • caseInvokeOperationInstruction

      public T caseInvokeOperationInstruction(InvokeOperationInstruction object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Invoke Operation Instruction'.
      See Also:
    • caseInvoke

      public T caseInvoke(Invoke object)
      Returns the result of interpreting the object as an instance of 'Invoke'. 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 'Invoke'.
      See Also:
    • caseInvokeSuper

      public T caseInvokeSuper(InvokeSuper object)
      Returns the result of interpreting the object as an instance of 'Invoke Super'. 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 'Invoke Super'.
      See Also:
    • caseInvokeStatic

      public T caseInvokeStatic(InvokeStatic object)
      Returns the result of interpreting the object as an instance of 'Invoke Static'. 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 'Invoke Static'.
      See Also:
    • caseAllinst

      public T caseAllinst(Allinst object)
      Returns the result of interpreting the object as an instance of 'Allinst'. 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 'Allinst'.
      See Also:
    • caseAllinstIn

      public T caseAllinstIn(AllinstIn object)
      Returns the result of interpreting the object as an instance of 'Allinst In'. 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 'Allinst In'.
      See Also:
    • caseMatch

      public T caseMatch(Match object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Match'.
      See Also:
    • caseMatchS

      public T caseMatchS(MatchS object)
      Returns the result of interpreting the object as an instance of 'Match S'. 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 'Match S'.
      See Also:
    • caseAdd

      public T caseAdd(Add object)
      Returns the result of interpreting the object as an instance of 'Add'. 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 'Add'.
      See Also:
    • caseRemove

      public T caseRemove(Remove object)
      Returns the result of interpreting the object as an instance of 'Remove'. 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 'Remove'.
      See Also:
    • caseInsert

      public T caseInsert(Insert object)
      Returns the result of interpreting the object as an instance of 'Insert'. 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 'Insert'.
      See Also:
    • caseGetSuper

      public T caseGetSuper(GetSuper object)
      Returns the result of interpreting the object as an instance of 'Get Super'. 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 'Get Super'.
      See Also:
    • caseGetenv

      public T caseGetenv(Getenv object)
      Returns the result of interpreting the object as an instance of 'Getenv'. 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 'Getenv'.
      See Also:
    • 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:
    • caseCodeBlockInstruction

      public T caseCodeBlockInstruction(CodeBlockInstruction object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Code Block Instruction'.
      See Also:
    • caseGetcb

      public T caseGetcb(Getcb object)
      Returns the result of interpreting the object as an instance of 'Getcb'. 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 'Getcb'.
      See Also:
    • caseInvokeAllCbs

      public T caseInvokeAllCbs(InvokeAllCbs object)
      Returns the result of interpreting the object as an instance of 'Invoke All Cbs'. 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 'Invoke All Cbs'.
      See Also:
    • caseInvokeCb

      public T caseInvokeCb(InvokeCb object)
      Returns the result of interpreting the object as an instance of 'Invoke Cb'. 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 'Invoke Cb'.
      See Also:
    • caseInvokeCbS

      public T caseInvokeCbS(InvokeCbS object)
      Returns the result of interpreting the object as an instance of 'Invoke Cb S'. 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 'Invoke Cb S'.
      See Also:
    • caseNot

      public T caseNot(Not object)
      Returns the result of interpreting the object as an instance of 'Not'. 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 'Not'.
      See Also:
    • caseAnd

      public T caseAnd(And object)
      Returns the result of interpreting the object as an instance of 'And'. 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'.
      See Also:
    • caseOr

      public T caseOr(Or object)
      Returns the result of interpreting the object as an instance of 'Or'. 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 'Or'.
      See Also:
    • caseXor

      public T caseXor(Xor object)
      Returns the result of interpreting the object as an instance of 'Xor'. 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 'Xor'.
      See Also:
    • caseImplies

      public T caseImplies(Implies object)
      Returns the result of interpreting the object as an instance of 'Implies'. 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 'Implies'.
      See Also:
    • caseIfte

      public T caseIfte(Ifte object)
      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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'Ifte'.
      See Also:
    • caseIsnull

      public T caseIsnull(Isnull object)
      Returns the result of interpreting the object as an instance of 'Isnull'. 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 'Isnull'.
      See Also:
    • caseGetenvtype

      public T caseGetenvtype(Getenvtype object)
      Returns the result of interpreting the object as an instance of 'Getenvtype'. 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 'Getenvtype'.
      See Also:
    • caseExecEnv

      public T caseExecEnv(ExecEnv object)
      Returns the result of interpreting the object as an instance of 'Exec Env'. 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 'Exec Env'.
      See Also:
    • caseModel

      public T caseModel(Model object)
      Returns the result of interpreting the object as an instance of 'Model'. 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 'Model'.
      See Also:
    • caseMetamodel

      public T caseMetamodel(Metamodel object)
      Returns the result of interpreting the object as an instance of 'Metamodel'. 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 'Metamodel'.
      See Also:
    • defaultCase

      public T defaultCase(org.eclipse.emf.ecore.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.
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpreting the object as an instance of 'EObject'.
      See Also: