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
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaddAllGrammarAnnotations(int index, Collection<? extends ASTGrammarAnnotation> collection) booleanaddAllGrammarAnnotations(Collection<? extends ASTGrammarAnnotation> collection) voidaddGrammarAnnotation(int index, ASTGrammarAnnotation element) booleanaddGrammarAnnotation(ASTGrammarAnnotation element) voidbooleancontainsAllGrammarAnnotations(Collection<?> collection) booleancontainsGrammarAnnotation(Object element) booleandeepEquals(Object o) booleandeepEquals(Object o, boolean forceSameOrder) booleanbooleandeepEqualsWithComments(Object o, boolean forceSameOrder) booleanbooleanbooleanvoidforEachGrammarAnnotations(Consumer<? super ASTGrammarAnnotation> action) getGrammarAnnotation(int index) getName()intintindexOfGrammarAnnotation(Object element) booleanbooleanintlastIndexOfGrammarAnnotation(Object element) listIteratorGrammarAnnotations(int index) booleanremoveAllGrammarAnnotations(Collection<?> collection) removeGrammarAnnotation(int index) booleanremoveGrammarAnnotation(Object element) booleanremoveIfGrammarAnnotation(Predicate<? super ASTGrammarAnnotation> filter) voidbooleanretainAllGrammarAnnotations(Collection<?> collection) voidsetEnclosingScope(IGrammarScope enclosingScope) voidsetEnclosingScope(IMCCommonLiteralsScope enclosingScope) voidsetEnclosingScope(IMCLiteralsBasisScope enclosingScope) voidsetEnclosingScope(IMCBasicsScope enclosingScope) voidsetEnclosingScope(IMCBasicTypesScope enclosingScope) voidsetEnclosingScope(IMCCollectionTypesScope enclosingScope) voidsetEnclosingScope(IMCSimpleGenericTypesScope enclosingScope) setGrammarAnnotation(int index, ASTGrammarAnnotation element) voidsetGrammarAnnotationList(List<ASTGrammarAnnotation> grammarAnnotations) voidvoidsetSpannedScope(IGrammarScope spannedScope) intvoidsortGrammarAnnotations(Comparator<? super ASTGrammarAnnotation> comparator) subListGrammarAnnotations(int start, int end) Object[]Methods inherited from interface de.monticore.grammar.grammar._ast.ASTGrammarNode
acceptMethods inherited from interface de.monticore.ast.ASTNode
accept, add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, evaluate, forEach_PostComments, forEach_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
Method Details
-
deepEquals
- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEquals
- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
equalAttributes
- Specified by:
equalAttributesin interfacede.monticore.ast.ASTNode
-
equalsWithComments
- Specified by:
equalsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepClone
ASTProd deepClone()- Specified by:
deepClonein interfacede.monticore.ast.ASTNode
-
containsGrammarAnnotation
-
containsAllGrammarAnnotations
-
isEmptyGrammarAnnotations
boolean isEmptyGrammarAnnotations() -
iteratorGrammarAnnotations
Iterator<ASTGrammarAnnotation> iteratorGrammarAnnotations() -
sizeGrammarAnnotations
int sizeGrammarAnnotations() -
toArrayGrammarAnnotations
-
toArrayGrammarAnnotations
Object[] toArrayGrammarAnnotations() -
spliteratorGrammarAnnotations
Spliterator<ASTGrammarAnnotation> spliteratorGrammarAnnotations() -
streamGrammarAnnotations
Stream<ASTGrammarAnnotation> streamGrammarAnnotations() -
parallelStreamGrammarAnnotations
Stream<ASTGrammarAnnotation> parallelStreamGrammarAnnotations() -
getGrammarAnnotation
-
indexOfGrammarAnnotation
-
lastIndexOfGrammarAnnotation
-
equalsGrammarAnnotations
-
hashCodeGrammarAnnotations
int hashCodeGrammarAnnotations() -
listIteratorGrammarAnnotations
ListIterator<ASTGrammarAnnotation> listIteratorGrammarAnnotations() -
listIteratorGrammarAnnotations
-
subListGrammarAnnotations
-
getGrammarAnnotationList
List<ASTGrammarAnnotation> getGrammarAnnotationList() -
clearGrammarAnnotations
void clearGrammarAnnotations() -
addGrammarAnnotation
-
addAllGrammarAnnotations
-
removeGrammarAnnotation
-
removeAllGrammarAnnotations
-
retainAllGrammarAnnotations
-
removeIfGrammarAnnotation
-
forEachGrammarAnnotations
-
addGrammarAnnotation
-
addAllGrammarAnnotations
-
removeGrammarAnnotation
-
setGrammarAnnotation
-
replaceAllGrammarAnnotations
-
sortGrammarAnnotations
-
setGrammarAnnotationList
-
getName
String getName() -
setName
-
getSymbol
ProdSymbol getSymbol() -
isPresentSymbol
boolean isPresentSymbol() -
getSpannedScope
IGrammarScope getSpannedScope() -
setSpannedScope
-
getEnclosingScope
IGrammarScope getEnclosingScope()- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-