Class ASTMCTupleTypeTOP

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.types.mcstructuraltypes._ast.ASTMCTupleTypeTOP
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTMCBasicTypesNode, ASTMCType, ASTMCTypeTOP, ASTMCStructuralTypesNode, Cloneable
Direct Known Subclasses:
ASTMCTupleType

public abstract class ASTMCTupleTypeTOP extends de.monticore.ast.ASTCNode implements ASTMCType, ASTMCStructuralTypesNode
  • Field Details

  • Constructor Details

    • ASTMCTupleTypeTOP

      protected ASTMCTupleTypeTOP()
  • Method Details

    • deepEquals

      public boolean deepEquals(Object o)
      Specified by:
      deepEquals in interface ASTMCTypeTOP
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEquals

      public boolean deepEquals(Object o, boolean forceSameOrder)
      Specified by:
      deepEquals in interface ASTMCTypeTOP
      Specified by:
      deepEquals in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o)
      Specified by:
      deepEqualsWithComments in interface ASTMCTypeTOP
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • deepEqualsWithComments

      public boolean deepEqualsWithComments(Object o, boolean forceSameOrder)
      Specified by:
      deepEqualsWithComments in interface ASTMCTypeTOP
      Specified by:
      deepEqualsWithComments in interface de.monticore.ast.ASTNode
    • equalAttributes

      public boolean equalAttributes(Object o)
      Specified by:
      equalAttributes in interface ASTMCTypeTOP
      Specified by:
      equalAttributes in interface de.monticore.ast.ASTNode
    • equalsWithComments

      public boolean equalsWithComments(Object o)
      Specified by:
      equalsWithComments in interface ASTMCTypeTOP
      Specified by:
      equalsWithComments in interface de.monticore.ast.ASTNode
    • deepClone

      public ASTMCTupleType deepClone()
      Specified by:
      deepClone in interface ASTMCTypeTOP
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTMCTupleType deepClone(ASTMCTupleType result)
    • containsMCType

      public boolean containsMCType(Object element)
    • containsAllMCTypes

      public boolean containsAllMCTypes(Collection<?> collection)
    • isEmptyMCTypes

      public boolean isEmptyMCTypes()
    • iteratorMCTypes

      public Iterator<ASTMCType> iteratorMCTypes()
    • sizeMCTypes

      public int sizeMCTypes()
    • toArrayMCTypes

      public ASTMCType[] toArrayMCTypes(ASTMCType[] array)
    • toArrayMCTypes

      public Object[] toArrayMCTypes()
    • spliteratorMCTypes

      public Spliterator<ASTMCType> spliteratorMCTypes()
    • streamMCTypes

      public Stream<ASTMCType> streamMCTypes()
    • parallelStreamMCTypes

      public Stream<ASTMCType> parallelStreamMCTypes()
    • getMCType

      public ASTMCType getMCType(int index)
    • indexOfMCType

      public int indexOfMCType(Object element)
    • lastIndexOfMCType

      public int lastIndexOfMCType(Object element)
    • equalsMCTypes

      public boolean equalsMCTypes(Object o)
    • hashCodeMCTypes

      public int hashCodeMCTypes()
    • listIteratorMCTypes

      public ListIterator<ASTMCType> listIteratorMCTypes()
    • listIteratorMCTypes

      public ListIterator<ASTMCType> listIteratorMCTypes(int index)
    • subListMCTypes

      public List<ASTMCType> subListMCTypes(int start, int end)
    • getMCTypeList

      public List<ASTMCType> getMCTypeList()
    • clearMCTypes

      public void clearMCTypes()
    • addMCType

      public boolean addMCType(ASTMCType element)
    • addAllMCTypes

      public boolean addAllMCTypes(Collection<? extends ASTMCType> collection)
    • removeMCType

      public boolean removeMCType(Object element)
    • removeAllMCTypes

      public boolean removeAllMCTypes(Collection<?> collection)
    • retainAllMCTypes

      public boolean retainAllMCTypes(Collection<?> collection)
    • removeIfMCType

      public boolean removeIfMCType(Predicate<? super ASTMCType> filter)
    • forEachMCTypes

      public void forEachMCTypes(Consumer<? super ASTMCType> action)
    • addMCType

      public void addMCType(int index, ASTMCType element)
    • addAllMCTypes

      public boolean addAllMCTypes(int index, Collection<? extends ASTMCType> collection)
    • removeMCType

      public ASTMCType removeMCType(int index)
    • setMCType

      public ASTMCType setMCType(int index, ASTMCType element)
    • replaceAllMCTypes

      public void replaceAllMCTypes(UnaryOperator<ASTMCType> operator)
    • sortMCTypes

      public void sortMCTypes(Comparator<? super ASTMCType> comparator)
    • setMCTypeList

      public void setMCTypeList(List<ASTMCType> mCTypes)
    • accept

      public void accept(MCStructuralTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTMCStructuralTypesNode
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCBasicTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTMCBasicTypesNode
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCBasicsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(de.monticore.visitor.ITraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface de.monticore.ast.ASTNode
      Parameters:
      visitor - the visitor to dispatch to
    • _construct

      protected ASTMCTupleType _construct()
    • getEnclosingScope

      public IMCStructuralTypesScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface ASTMCTypeTOP
      Specified by:
      getEnclosingScope in interface de.monticore.ast.ASTNode
    • setEnclosingScope

      public void setEnclosingScope(IMCStructuralTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTMCTypeTOP
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTMCTypeTOP