Class ASTComplexTagType

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tagging.tagschema._ast.ASTComplexTagType
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTTagSchemaNode, ASTTagType, Cloneable

public class ASTComplexTagType extends de.monticore.ast.ASTCNode implements ASTTagType, ASTTagSchemaNode
  • Field Details

  • Constructor Details

    • ASTComplexTagType

      protected ASTComplexTagType()
  • Method Details

    • deepEquals

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

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

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

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

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

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

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

      public ASTComplexTagType deepClone(ASTComplexTagType result)
    • getName

      public String getName()
      Specified by:
      getName in interface ASTTagType
    • getTagScope

      public ASTTagScope getTagScope()
    • isPresentTagScope

      public boolean isPresentTagScope()
    • containsReference

      public boolean containsReference(Object element)
    • containsAllReferences

      public boolean containsAllReferences(Collection<?> collection)
    • isEmptyReferences

      public boolean isEmptyReferences()
    • iteratorReferences

      public Iterator<ASTReference> iteratorReferences()
    • sizeReferences

      public int sizeReferences()
    • toArrayReferences

      public ASTReference[] toArrayReferences(ASTReference[] array)
    • toArrayReferences

      public Object[] toArrayReferences()
    • spliteratorReferences

      public Spliterator<ASTReference> spliteratorReferences()
    • streamReferences

      public Stream<ASTReference> streamReferences()
    • parallelStreamReferences

      public Stream<ASTReference> parallelStreamReferences()
    • getReference

      public ASTReference getReference(int index)
    • indexOfReference

      public int indexOfReference(Object element)
    • lastIndexOfReference

      public int lastIndexOfReference(Object element)
    • equalsReferences

      public boolean equalsReferences(Object o)
    • hashCodeReferences

      public int hashCodeReferences()
    • listIteratorReferences

      public ListIterator<ASTReference> listIteratorReferences()
    • listIteratorReferences

      public ListIterator<ASTReference> listIteratorReferences(int index)
    • subListReferences

      public List<ASTReference> subListReferences(int start, int end)
    • getReferenceList

      public List<ASTReference> getReferenceList()
    • isPrivate

      public boolean isPrivate()
    • setName

      public void setName(String name)
    • setTagScope

      public void setTagScope(ASTTagScope tagScope)
    • setTagScopeAbsent

      public void setTagScopeAbsent()
    • clearReferences

      public void clearReferences()
    • addReference

      public boolean addReference(ASTReference element)
    • addAllReferences

      public boolean addAllReferences(Collection<? extends ASTReference> collection)
    • removeReference

      public boolean removeReference(Object element)
    • removeAllReferences

      public boolean removeAllReferences(Collection<?> collection)
    • retainAllReferences

      public boolean retainAllReferences(Collection<?> collection)
    • removeIfReference

      public boolean removeIfReference(Predicate<? super ASTReference> filter)
    • forEachReferences

      public void forEachReferences(Consumer<? super ASTReference> action)
    • addReference

      public void addReference(int index, ASTReference element)
    • addAllReferences

      public boolean addAllReferences(int index, Collection<? extends ASTReference> collection)
    • removeReference

      public ASTReference removeReference(int index)
    • setReference

      public ASTReference setReference(int index, ASTReference element)
    • replaceAllReferences

      public void replaceAllReferences(UnaryOperator<ASTReference> operator)
    • sortReferences

      public void sortReferences(Comparator<? super ASTReference> comparator)
    • setReferenceList

      public void setReferenceList(List<ASTReference> references)
    • setPrivate

      public void setPrivate(boolean r__private)
    • accept

      public void accept(TagSchemaTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTTagSchemaNode
      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(MCCommonLiteralsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

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

      public void accept(MCLiteralsBasisTraverser 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 ASTComplexTagType _construct()
    • getSymbol

      public ComplexTagTypeSymbol getSymbol()
      Specified by:
      getSymbol in interface ASTTagType
    • isPresentSymbol

      public boolean isPresentSymbol()
      Specified by:
      isPresentSymbol in interface ASTTagType
    • setSymbol

      public void setSymbol(ComplexTagTypeSymbol symbol)
    • setSymbolAbsent

      public void setSymbolAbsent()
    • getSpannedScope

      public ITagSchemaScope getSpannedScope()
    • setSpannedScope

      public void setSpannedScope(ITagSchemaScope spannedScope)
    • getEnclosingScope

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

      public void setEnclosingScope(ITagSchemaScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTTagType
    • setEnclosingScope

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

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTTagType
    • setEnclosingScope

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

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTTagType