Class ASTExternalProdBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
de.monticore.grammar.grammar._ast.ASTExternalProdBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ASTGrammarAnnotation> protected Stringprotected ASTExternalProdBuilderprotected List<ASTSymbolDefinition> Fields inherited from class de.monticore.ast.ASTNodeBuilder
postcomments, precomments, sourcePositionEnd, sourcePositionStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd_PostComment(int index, de.monticore.ast.Comment postcomment) add_PostComment(de.monticore.ast.Comment postcomment) add_PreComment(int index, de.monticore.ast.Comment precomment) add_PreComment(de.monticore.ast.Comment precomment) addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) addAll_PreComments(Collection<de.monticore.ast.Comment> precomments) addAllGrammarAnnotations(int index, Collection<? extends ASTGrammarAnnotation> collection) addAllGrammarAnnotations(Collection<? extends ASTGrammarAnnotation> collection) addAllSymbolDefinitions(int index, Collection<? extends ASTSymbolDefinition> collection) addAllSymbolDefinitions(Collection<? extends ASTSymbolDefinition> collection) addGrammarAnnotation(int index, ASTGrammarAnnotation element) addGrammarAnnotation(ASTGrammarAnnotation element) addSymbolDefinition(int index, ASTSymbolDefinition element) addSymbolDefinition(ASTSymbolDefinition element) build()booleancontainsAllGrammarAnnotations(Collection<?> collection) booleancontainsAllSymbolDefinitions(Collection<?> collection) booleancontainsGrammarAnnotation(Object element) booleancontainsSymbolDefinition(Object element) booleanbooleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachGrammarAnnotations(Consumer<? super ASTGrammarAnnotation> action) forEachSymbolDefinitions(Consumer<? super ASTSymbolDefinition> action) getGrammarAnnotation(int index) getName()getSymbolDefinition(int index) intintintindexOfGrammarAnnotation(Object element) intindexOfSymbolDefinition(Object element) booleanbooleanbooleanbooleanisValid()intlastIndexOfGrammarAnnotation(Object element) intlastIndexOfSymbolDefinition(Object element) listIteratorGrammarAnnotations(int index) listIteratorSymbolDefinitions(int index) remove_PostComment(int index) remove_PostComment(Object element) remove_PreComment(int index) remove_PreComment(Object element) removeAll_PostComments(Collection<?> element) removeAll_PreComments(Collection<?> element) removeAllGrammarAnnotations(Collection<?> collection) removeAllSymbolDefinitions(Collection<?> collection) removeGrammarAnnotation(int index) removeGrammarAnnotation(Object element) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfGrammarAnnotation(Predicate<? super ASTGrammarAnnotation> filter) removeIfSymbolDefinition(Predicate<? super ASTSymbolDefinition> filter) removeSymbolDefinition(int index) removeSymbolDefinition(Object element) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllGrammarAnnotations(Collection<?> collection) retainAllSymbolDefinitions(Collection<?> collection) set_PostComment(int index, de.monticore.ast.Comment postcomment) set_PostCommentList(List<de.monticore.ast.Comment> postComments) set_PreComment(int index, de.monticore.ast.Comment precomment) set_PreCommentList(List<de.monticore.ast.Comment> preComments) set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) setGrammarAnnotation(int index, ASTGrammarAnnotation element) setGrammarAnnotationsList(List<ASTGrammarAnnotation> grammarAnnotations) setSymbolDefinition(int index, ASTSymbolDefinition element) setSymbolDefinitionsList(List<ASTSymbolDefinition> symbolDefinitions) intintsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortGrammarAnnotations(Comparator<? super ASTGrammarAnnotation> comparator) sortSymbolDefinitions(Comparator<? super ASTSymbolDefinition> comparator) subListGrammarAnnotations(int start, int end) subListSymbolDefinitions(int start, int end) Object[]Object[]Methods inherited from class de.monticore.ast.ASTNodeBuilder
contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_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, size_PostComments, size_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
Field Details
-
realBuilder
-
grammarAnnotations
-
symbolDefinitions
-
name
-
mCType
-
-
Constructor Details
-
ASTExternalProdBuilder
public ASTExternalProdBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
containsGrammarAnnotation
-
containsAllGrammarAnnotations
-
isEmptyGrammarAnnotations
public boolean isEmptyGrammarAnnotations() -
iteratorGrammarAnnotations
-
sizeGrammarAnnotations
public int sizeGrammarAnnotations() -
toArrayGrammarAnnotations
-
toArrayGrammarAnnotations
-
spliteratorGrammarAnnotations
-
streamGrammarAnnotations
-
parallelStreamGrammarAnnotations
-
getGrammarAnnotation
-
indexOfGrammarAnnotation
-
lastIndexOfGrammarAnnotation
-
equalsGrammarAnnotations
-
hashCodeGrammarAnnotations
public int hashCodeGrammarAnnotations() -
listIteratorGrammarAnnotations
-
listIteratorGrammarAnnotations
-
subListGrammarAnnotations
-
getGrammarAnnotationList
-
containsSymbolDefinition
-
containsAllSymbolDefinitions
-
isEmptySymbolDefinitions
public boolean isEmptySymbolDefinitions() -
iteratorSymbolDefinitions
-
sizeSymbolDefinitions
public int sizeSymbolDefinitions() -
toArraySymbolDefinitions
-
toArraySymbolDefinitions
-
spliteratorSymbolDefinitions
-
streamSymbolDefinitions
-
parallelStreamSymbolDefinitions
-
getSymbolDefinition
-
indexOfSymbolDefinition
-
lastIndexOfSymbolDefinition
-
equalsSymbolDefinitions
-
hashCodeSymbolDefinitions
public int hashCodeSymbolDefinitions() -
listIteratorSymbolDefinitions
-
listIteratorSymbolDefinitions
-
subListSymbolDefinitions
-
getSymbolDefinitionList
-
getName
-
getMCType
-
isPresentMCType
public boolean isPresentMCType() -
clearGrammarAnnotations
-
addGrammarAnnotation
-
addAllGrammarAnnotations
public ASTExternalProdBuilder addAllGrammarAnnotations(Collection<? extends ASTGrammarAnnotation> collection) -
removeGrammarAnnotation
-
removeAllGrammarAnnotations
-
retainAllGrammarAnnotations
-
removeIfGrammarAnnotation
public ASTExternalProdBuilder removeIfGrammarAnnotation(Predicate<? super ASTGrammarAnnotation> filter) -
forEachGrammarAnnotations
public ASTExternalProdBuilder forEachGrammarAnnotations(Consumer<? super ASTGrammarAnnotation> action) -
addGrammarAnnotation
-
addAllGrammarAnnotations
public ASTExternalProdBuilder addAllGrammarAnnotations(int index, Collection<? extends ASTGrammarAnnotation> collection) -
removeGrammarAnnotation
-
setGrammarAnnotation
-
replaceAllGrammarAnnotations
public ASTExternalProdBuilder replaceAllGrammarAnnotations(UnaryOperator<ASTGrammarAnnotation> operator) -
sortGrammarAnnotations
public ASTExternalProdBuilder sortGrammarAnnotations(Comparator<? super ASTGrammarAnnotation> comparator) -
setGrammarAnnotationsList
public ASTExternalProdBuilder setGrammarAnnotationsList(List<ASTGrammarAnnotation> grammarAnnotations) -
clearSymbolDefinitions
-
addSymbolDefinition
-
addAllSymbolDefinitions
public ASTExternalProdBuilder addAllSymbolDefinitions(Collection<? extends ASTSymbolDefinition> collection) -
removeSymbolDefinition
-
removeAllSymbolDefinitions
-
retainAllSymbolDefinitions
-
removeIfSymbolDefinition
public ASTExternalProdBuilder removeIfSymbolDefinition(Predicate<? super ASTSymbolDefinition> filter) -
forEachSymbolDefinitions
public ASTExternalProdBuilder forEachSymbolDefinitions(Consumer<? super ASTSymbolDefinition> action) -
addSymbolDefinition
-
addAllSymbolDefinitions
public ASTExternalProdBuilder addAllSymbolDefinitions(int index, Collection<? extends ASTSymbolDefinition> collection) -
removeSymbolDefinition
-
setSymbolDefinition
-
replaceAllSymbolDefinitions
public ASTExternalProdBuilder replaceAllSymbolDefinitions(UnaryOperator<ASTSymbolDefinition> operator) -
sortSymbolDefinitions
public ASTExternalProdBuilder sortSymbolDefinitions(Comparator<? super ASTSymbolDefinition> comparator) -
setSymbolDefinitionsList
-
setName
-
setMCType
-
setMCTypeAbsent
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
set_SourcePositionStart
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
addAll_PreComments
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
addAll_PreComments
public ASTExternalProdBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
removeIf_PreComment
public ASTExternalProdBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
forEach_PreComments
public ASTExternalProdBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
replaceAll_PreComments
public ASTExternalProdBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
sort_PreComments
public ASTExternalProdBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
set_PreCommentList
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
set_PreComment
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
addAll_PostComments
public ASTExternalProdBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
addAll_PostComments
public ASTExternalProdBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
removeIf_PostComment
public ASTExternalProdBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
forEach_PostComments
public ASTExternalProdBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
replaceAll_PostComments
public ASTExternalProdBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
sort_PostComments
public ASTExternalProdBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
set_PostCommentList
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
set_PostComment
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTExternalProdBuilder>
-
uncheckedBuild
-