Class ASTEnumeratedTagType

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

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

  • Constructor Details

    • ASTEnumeratedTagType

      protected ASTEnumeratedTagType()
  • 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 ASTEnumeratedTagType 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 ASTEnumeratedTagType deepClone(ASTEnumeratedTagType result)
    • getName

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

      public boolean containsString(Object element)
    • containsAllStrings

      public boolean containsAllStrings(Collection<?> collection)
    • isEmptyStrings

      public boolean isEmptyStrings()
    • iteratorStrings

      public Iterator<String> iteratorStrings()
    • sizeStrings

      public int sizeStrings()
    • toArrayStrings

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

      public Object[] toArrayStrings()
    • spliteratorStrings

      public Spliterator<String> spliteratorStrings()
    • streamStrings

      public Stream<String> streamStrings()
    • parallelStreamStrings

      public Stream<String> parallelStreamStrings()
    • getString

      public String getString(int index)
    • indexOfString

      public int indexOfString(Object element)
    • lastIndexOfString

      public int lastIndexOfString(Object element)
    • equalsStrings

      public boolean equalsStrings(Object o)
    • hashCodeStrings

      public int hashCodeStrings()
    • listIteratorStrings

      public ListIterator<String> listIteratorStrings()
    • listIteratorStrings

      public ListIterator<String> listIteratorStrings(int index)
    • subListStrings

      public List<String> subListStrings(int start, int end)
    • getStringList

      public List<String> getStringList()
    • getTagScope

      public ASTTagScope getTagScope()
    • isPresentTagScope

      public boolean isPresentTagScope()
    • isPrivate

      public boolean isPrivate()
    • setName

      public void setName(String name)
    • clearStrings

      public void clearStrings()
    • addString

      public boolean addString(String element)
    • addAllStrings

      public boolean addAllStrings(Collection<? extends String> collection)
    • removeString

      public boolean removeString(Object element)
    • removeAllStrings

      public boolean removeAllStrings(Collection<?> collection)
    • retainAllStrings

      public boolean retainAllStrings(Collection<?> collection)
    • removeIfString

      public boolean removeIfString(Predicate<? super String> filter)
    • forEachStrings

      public void forEachStrings(Consumer<? super String> action)
    • addString

      public void addString(int index, String element)
    • addAllStrings

      public boolean addAllStrings(int index, Collection<? extends String> collection)
    • removeString

      public String removeString(int index)
    • setString

      public String setString(int index, String element)
    • replaceAllStrings

      public void replaceAllStrings(UnaryOperator<String> operator)
    • sortStrings

      public void sortStrings(Comparator<? super String> comparator)
    • setStringList

      public void setStringList(List<String> strings)
    • setTagScope

      public void setTagScope(ASTTagScope tagScope)
    • setTagScopeAbsent

      public void setTagScopeAbsent()
    • 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 ASTEnumeratedTagType _construct()
    • getSymbol

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

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

      public void setSymbol(EnumeratedTagTypeSymbol symbol)
    • setSymbolAbsent

      public void setSymbolAbsent()
    • 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