Class ASTTagSchema

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

public class ASTTagSchema extends de.monticore.ast.ASTCNode implements ASTTagSchemaNode
  • Field Details

  • Constructor Details

    • ASTTagSchema

      protected ASTTagSchema()
  • Method Details

    • deepEquals

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

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

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

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

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

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

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

      public ASTTagSchema deepClone(ASTTagSchema result)
    • getPackage

      public ASTMCQualifiedName getPackage()
    • isPresentPackage

      public boolean isPresentPackage()
    • getName

      public String getName()
    • containsTagType

      public boolean containsTagType(Object element)
    • containsAllTagTypes

      public boolean containsAllTagTypes(Collection<?> collection)
    • isEmptyTagTypes

      public boolean isEmptyTagTypes()
    • iteratorTagTypes

      public Iterator<ASTTagType> iteratorTagTypes()
    • sizeTagTypes

      public int sizeTagTypes()
    • toArrayTagTypes

      public ASTTagType[] toArrayTagTypes(ASTTagType[] array)
    • toArrayTagTypes

      public Object[] toArrayTagTypes()
    • spliteratorTagTypes

      public Spliterator<ASTTagType> spliteratorTagTypes()
    • streamTagTypes

      public Stream<ASTTagType> streamTagTypes()
    • parallelStreamTagTypes

      public Stream<ASTTagType> parallelStreamTagTypes()
    • getTagType

      public ASTTagType getTagType(int index)
    • indexOfTagType

      public int indexOfTagType(Object element)
    • lastIndexOfTagType

      public int lastIndexOfTagType(Object element)
    • equalsTagTypes

      public boolean equalsTagTypes(Object o)
    • hashCodeTagTypes

      public int hashCodeTagTypes()
    • listIteratorTagTypes

      public ListIterator<ASTTagType> listIteratorTagTypes()
    • listIteratorTagTypes

      public ListIterator<ASTTagType> listIteratorTagTypes(int index)
    • subListTagTypes

      public List<ASTTagType> subListTagTypes(int start, int end)
    • getTagTypeList

      public List<ASTTagType> getTagTypeList()
    • setPackage

      public void setPackage(ASTMCQualifiedName r__package)
    • setPackageAbsent

      public void setPackageAbsent()
    • setName

      public void setName(String name)
    • clearTagTypes

      public void clearTagTypes()
    • addTagType

      public boolean addTagType(ASTTagType element)
    • addAllTagTypes

      public boolean addAllTagTypes(Collection<? extends ASTTagType> collection)
    • removeTagType

      public boolean removeTagType(Object element)
    • removeAllTagTypes

      public boolean removeAllTagTypes(Collection<?> collection)
    • retainAllTagTypes

      public boolean retainAllTagTypes(Collection<?> collection)
    • removeIfTagType

      public boolean removeIfTagType(Predicate<? super ASTTagType> filter)
    • forEachTagTypes

      public void forEachTagTypes(Consumer<? super ASTTagType> action)
    • addTagType

      public void addTagType(int index, ASTTagType element)
    • addAllTagTypes

      public boolean addAllTagTypes(int index, Collection<? extends ASTTagType> collection)
    • removeTagType

      public ASTTagType removeTagType(int index)
    • setTagType

      public ASTTagType setTagType(int index, ASTTagType element)
    • replaceAllTagTypes

      public void replaceAllTagTypes(UnaryOperator<ASTTagType> operator)
    • sortTagTypes

      public void sortTagTypes(Comparator<? super ASTTagType> comparator)
    • setTagTypeList

      public void setTagTypeList(List<ASTTagType> tagTypes)
    • 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 ASTTagSchema _construct()
    • getSymbol

      public TagSchemaSymbol getSymbol()
    • isPresentSymbol

      public boolean isPresentSymbol()
    • setSymbol

      public void setSymbol(TagSchemaSymbol 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
    • setEnclosingScope

      public void setEnclosingScope(ITagSchemaScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)