Class ASTMCArrayTypeTOP

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.types.mcarraytypes._ast.ASTMCArrayTypeTOP
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTMCArrayTypesNode, ASTMCBasicTypesNode, ASTMCType, ASTMCTypeTOP, Cloneable
Direct Known Subclasses:
ASTMCArrayType

public abstract class ASTMCArrayTypeTOP extends de.monticore.ast.ASTCNode implements ASTMCType, ASTMCArrayTypesNode
  • Field Details

  • Constructor Details

    • ASTMCArrayTypeTOP

      protected ASTMCArrayTypeTOP()
  • Method Details

    • getDimensions

      public int getDimensions()
    • 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 ASTMCArrayType 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 ASTMCArrayType deepClone(ASTMCArrayType result)
    • getMCType

      public ASTMCType getMCType()
    • containsDimT

      public boolean containsDimT(Object element)
    • containsAllDimT

      public boolean containsAllDimT(Collection<?> collection)
    • isEmptyDimT

      public boolean isEmptyDimT()
    • iteratorDimT

      public Iterator<String> iteratorDimT()
    • sizeDimT

      public int sizeDimT()
    • toArrayDimT

      public String[] toArrayDimT(String[] array)
    • toArrayDimT

      public Object[] toArrayDimT()
    • spliteratorDimT

      public Spliterator<String> spliteratorDimT()
    • streamDimT

      public Stream<String> streamDimT()
    • parallelStreamDimT

      public Stream<String> parallelStreamDimT()
    • getDimT

      public String getDimT(int index)
    • indexOfDimT

      public int indexOfDimT(Object element)
    • lastIndexOfDimT

      public int lastIndexOfDimT(Object element)
    • equalsDimT

      public boolean equalsDimT(Object o)
    • hashCodeDimT

      public int hashCodeDimT()
    • listIteratorDimT

      public ListIterator<String> listIteratorDimT()
    • listIteratorDimT

      public ListIterator<String> listIteratorDimT(int index)
    • subListDimT

      public List<String> subListDimT(int start, int end)
    • getDimTList

      public List<String> getDimTList()
    • setMCType

      public void setMCType(ASTMCType mCType)
    • clearDimT

      public void clearDimT()
    • addDimT

      public boolean addDimT(String element)
    • addAllDimT

      public boolean addAllDimT(Collection<? extends String> collection)
    • removeDimT

      public boolean removeDimT(Object element)
    • removeAllDimT

      public boolean removeAllDimT(Collection<?> collection)
    • retainAllDimT

      public boolean retainAllDimT(Collection<?> collection)
    • removeIfDimT

      public boolean removeIfDimT(Predicate<? super String> filter)
    • forEachDimT

      public void forEachDimT(Consumer<? super String> action)
    • addDimT

      public void addDimT(int index, String element)
    • addAllDimT

      public boolean addAllDimT(int index, Collection<? extends String> collection)
    • removeDimT

      public String removeDimT(int index)
    • setDimT

      public String setDimT(int index, String element)
    • replaceAllDimT

      public void replaceAllDimT(UnaryOperator<String> operator)
    • sortDimT

      public void sortDimT(Comparator<? super String> comparator)
    • setDimTList

      public void setDimTList(List<String> dimT)
    • accept

      public void accept(MCArrayTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTMCArrayTypesNode
      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 ASTMCArrayType _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IMCArrayTypesScope 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