Interface ASTProdTOP

All Superinterfaces:
ASTGrammarNode, de.monticore.ast.ASTNode
All Known Subinterfaces:
ASTParserProd, ASTParserProdTOP, ASTProd
All Known Implementing Classes:
ASTAbstractProd, ASTClassProd, ASTEnumProd, ASTExternalProd, ASTInterfaceProd, ASTLexProd

public interface ASTProdTOP extends de.monticore.ast.ASTNode, ASTGrammarNode
  • Method Details

    • deepEquals

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

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

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

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

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

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

      ASTProd deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
    • containsGrammarAnnotation

      boolean containsGrammarAnnotation(Object element)
    • containsAllGrammarAnnotations

      boolean containsAllGrammarAnnotations(Collection<?> collection)
    • isEmptyGrammarAnnotations

      boolean isEmptyGrammarAnnotations()
    • iteratorGrammarAnnotations

      Iterator<ASTGrammarAnnotation> iteratorGrammarAnnotations()
    • sizeGrammarAnnotations

      int sizeGrammarAnnotations()
    • toArrayGrammarAnnotations

      ASTGrammarAnnotation[] toArrayGrammarAnnotations(ASTGrammarAnnotation[] array)
    • toArrayGrammarAnnotations

      Object[] toArrayGrammarAnnotations()
    • spliteratorGrammarAnnotations

      Spliterator<ASTGrammarAnnotation> spliteratorGrammarAnnotations()
    • streamGrammarAnnotations

      Stream<ASTGrammarAnnotation> streamGrammarAnnotations()
    • parallelStreamGrammarAnnotations

      Stream<ASTGrammarAnnotation> parallelStreamGrammarAnnotations()
    • getGrammarAnnotation

      ASTGrammarAnnotation getGrammarAnnotation(int index)
    • indexOfGrammarAnnotation

      int indexOfGrammarAnnotation(Object element)
    • lastIndexOfGrammarAnnotation

      int lastIndexOfGrammarAnnotation(Object element)
    • equalsGrammarAnnotations

      boolean equalsGrammarAnnotations(Object o)
    • hashCodeGrammarAnnotations

      int hashCodeGrammarAnnotations()
    • listIteratorGrammarAnnotations

      ListIterator<ASTGrammarAnnotation> listIteratorGrammarAnnotations()
    • listIteratorGrammarAnnotations

      ListIterator<ASTGrammarAnnotation> listIteratorGrammarAnnotations(int index)
    • subListGrammarAnnotations

      List<ASTGrammarAnnotation> subListGrammarAnnotations(int start, int end)
    • getGrammarAnnotationList

      List<ASTGrammarAnnotation> getGrammarAnnotationList()
    • clearGrammarAnnotations

      void clearGrammarAnnotations()
    • addGrammarAnnotation

      boolean addGrammarAnnotation(ASTGrammarAnnotation element)
    • addAllGrammarAnnotations

      boolean addAllGrammarAnnotations(Collection<? extends ASTGrammarAnnotation> collection)
    • removeGrammarAnnotation

      boolean removeGrammarAnnotation(Object element)
    • removeAllGrammarAnnotations

      boolean removeAllGrammarAnnotations(Collection<?> collection)
    • retainAllGrammarAnnotations

      boolean retainAllGrammarAnnotations(Collection<?> collection)
    • removeIfGrammarAnnotation

      boolean removeIfGrammarAnnotation(Predicate<? super ASTGrammarAnnotation> filter)
    • forEachGrammarAnnotations

      void forEachGrammarAnnotations(Consumer<? super ASTGrammarAnnotation> action)
    • addGrammarAnnotation

      void addGrammarAnnotation(int index, ASTGrammarAnnotation element)
    • addAllGrammarAnnotations

      boolean addAllGrammarAnnotations(int index, Collection<? extends ASTGrammarAnnotation> collection)
    • removeGrammarAnnotation

      ASTGrammarAnnotation removeGrammarAnnotation(int index)
    • setGrammarAnnotation

      ASTGrammarAnnotation setGrammarAnnotation(int index, ASTGrammarAnnotation element)
    • replaceAllGrammarAnnotations

      void replaceAllGrammarAnnotations(UnaryOperator<ASTGrammarAnnotation> operator)
    • sortGrammarAnnotations

      void sortGrammarAnnotations(Comparator<? super ASTGrammarAnnotation> comparator)
    • setGrammarAnnotationList

      void setGrammarAnnotationList(List<ASTGrammarAnnotation> grammarAnnotations)
    • getName

      String getName()
    • setName

      void setName(String name)
    • getSymbol

      ProdSymbol getSymbol()
    • isPresentSymbol

      boolean isPresentSymbol()
    • getSpannedScope

      IGrammarScope getSpannedScope()
    • setSpannedScope

      void setSpannedScope(IGrammarScope spannedScope)
    • getEnclosingScope

      IGrammarScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface de.monticore.ast.ASTNode
    • setEnclosingScope

      void setEnclosingScope(IGrammarScope enclosingScope)
    • setEnclosingScope

      void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
    • setEnclosingScope

      void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
    • setEnclosingScope

      void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
    • setEnclosingScope

      void setEnclosingScope(IMCBasicTypesScope enclosingScope)