Class ASTTagScope

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

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

  • Constructor Details

    • ASTTagScope

      protected ASTTagScope()
  • 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 ASTTagScope deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

      public ASTTagScope deepClone(ASTTagScope result)
    • containsScopeIdentifier

      public boolean containsScopeIdentifier(Object element)
    • containsAllScopeIdentifiers

      public boolean containsAllScopeIdentifiers(Collection<?> collection)
    • isEmptyScopeIdentifiers

      public boolean isEmptyScopeIdentifiers()
    • iteratorScopeIdentifiers

      public Iterator<ASTScopeIdentifier> iteratorScopeIdentifiers()
    • sizeScopeIdentifiers

      public int sizeScopeIdentifiers()
    • toArrayScopeIdentifiers

      public ASTScopeIdentifier[] toArrayScopeIdentifiers(ASTScopeIdentifier[] array)
    • toArrayScopeIdentifiers

      public Object[] toArrayScopeIdentifiers()
    • spliteratorScopeIdentifiers

      public Spliterator<ASTScopeIdentifier> spliteratorScopeIdentifiers()
    • streamScopeIdentifiers

      public Stream<ASTScopeIdentifier> streamScopeIdentifiers()
    • parallelStreamScopeIdentifiers

      public Stream<ASTScopeIdentifier> parallelStreamScopeIdentifiers()
    • getScopeIdentifier

      public ASTScopeIdentifier getScopeIdentifier(int index)
    • indexOfScopeIdentifier

      public int indexOfScopeIdentifier(Object element)
    • lastIndexOfScopeIdentifier

      public int lastIndexOfScopeIdentifier(Object element)
    • equalsScopeIdentifiers

      public boolean equalsScopeIdentifiers(Object o)
    • hashCodeScopeIdentifiers

      public int hashCodeScopeIdentifiers()
    • listIteratorScopeIdentifiers

      public ListIterator<ASTScopeIdentifier> listIteratorScopeIdentifiers()
    • listIteratorScopeIdentifiers

      public ListIterator<ASTScopeIdentifier> listIteratorScopeIdentifiers(int index)
    • subListScopeIdentifiers

      public List<ASTScopeIdentifier> subListScopeIdentifiers(int start, int end)
    • getScopeIdentifierList

      public List<ASTScopeIdentifier> getScopeIdentifierList()
    • isWildcard

      public boolean isWildcard()
    • clearScopeIdentifiers

      public void clearScopeIdentifiers()
    • addScopeIdentifier

      public boolean addScopeIdentifier(ASTScopeIdentifier element)
    • addAllScopeIdentifiers

      public boolean addAllScopeIdentifiers(Collection<? extends ASTScopeIdentifier> collection)
    • removeScopeIdentifier

      public boolean removeScopeIdentifier(Object element)
    • removeAllScopeIdentifiers

      public boolean removeAllScopeIdentifiers(Collection<?> collection)
    • retainAllScopeIdentifiers

      public boolean retainAllScopeIdentifiers(Collection<?> collection)
    • removeIfScopeIdentifier

      public boolean removeIfScopeIdentifier(Predicate<? super ASTScopeIdentifier> filter)
    • forEachScopeIdentifiers

      public void forEachScopeIdentifiers(Consumer<? super ASTScopeIdentifier> action)
    • addScopeIdentifier

      public void addScopeIdentifier(int index, ASTScopeIdentifier element)
    • addAllScopeIdentifiers

      public boolean addAllScopeIdentifiers(int index, Collection<? extends ASTScopeIdentifier> collection)
    • removeScopeIdentifier

      public ASTScopeIdentifier removeScopeIdentifier(int index)
    • setScopeIdentifier

      public ASTScopeIdentifier setScopeIdentifier(int index, ASTScopeIdentifier element)
    • replaceAllScopeIdentifiers

      public void replaceAllScopeIdentifiers(UnaryOperator<ASTScopeIdentifier> operator)
    • sortScopeIdentifiers

      public void sortScopeIdentifiers(Comparator<? super ASTScopeIdentifier> comparator)
    • setScopeIdentifierList

      public void setScopeIdentifierList(List<ASTScopeIdentifier> scopeIdentifiers)
    • setWildcard

      public void setWildcard(boolean wildcard)
    • 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 ASTTagScope _construct()
    • 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)