Class ASTEnumProdBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
de.monticore.grammar.grammar._ast.ASTEnumProdBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ASTConstant> protected List<ASTGrammarAnnotation> protected Stringprotected ASTEnumProdBuilderFields 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) addAllConstants(int index, Collection<? extends ASTConstant> collection) addAllConstants(Collection<? extends ASTConstant> collection) addAllGrammarAnnotations(int index, Collection<? extends ASTGrammarAnnotation> collection) addAllGrammarAnnotations(Collection<? extends ASTGrammarAnnotation> collection) addConstant(int index, ASTConstant element) addConstant(ASTConstant element) addGrammarAnnotation(int index, ASTGrammarAnnotation element) addGrammarAnnotation(ASTGrammarAnnotation element) build()booleancontainsAllConstants(Collection<?> collection) booleancontainsAllGrammarAnnotations(Collection<?> collection) booleancontainsConstant(Object element) booleancontainsGrammarAnnotation(Object element) booleanbooleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachConstants(Consumer<? super ASTConstant> action) forEachGrammarAnnotations(Consumer<? super ASTGrammarAnnotation> action) getConstant(int index) getGrammarAnnotation(int index) getName()intintintindexOfConstant(Object element) intindexOfGrammarAnnotation(Object element) booleanbooleanbooleanisValid()intlastIndexOfConstant(Object element) intlastIndexOfGrammarAnnotation(Object element) listIteratorConstants(int index) listIteratorGrammarAnnotations(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) removeAllConstants(Collection<?> collection) removeAllGrammarAnnotations(Collection<?> collection) removeConstant(int index) removeConstant(Object element) removeGrammarAnnotation(int index) removeGrammarAnnotation(Object element) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfConstant(Predicate<? super ASTConstant> filter) removeIfGrammarAnnotation(Predicate<? super ASTGrammarAnnotation> filter) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAllConstants(UnaryOperator<ASTConstant> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllConstants(Collection<?> collection) retainAllGrammarAnnotations(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) setConstant(int index, ASTConstant element) setConstantsList(List<ASTConstant> constants) setGrammarAnnotation(int index, ASTGrammarAnnotation element) setGrammarAnnotationsList(List<ASTGrammarAnnotation> grammarAnnotations) intintsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortConstants(Comparator<? super ASTConstant> comparator) sortGrammarAnnotations(Comparator<? super ASTGrammarAnnotation> comparator) subListConstants(int start, int end) subListGrammarAnnotations(int start, int end) Object[]toArrayConstants(ASTConstant[] array) 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
-
name
-
constants
-
-
Constructor Details
-
ASTEnumProdBuilder
public ASTEnumProdBuilder()
-
-
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
-
getName
-
containsConstant
-
containsAllConstants
-
isEmptyConstants
public boolean isEmptyConstants() -
iteratorConstants
-
sizeConstants
public int sizeConstants() -
toArrayConstants
-
toArrayConstants
-
spliteratorConstants
-
streamConstants
-
parallelStreamConstants
-
getConstant
-
indexOfConstant
-
lastIndexOfConstant
-
equalsConstants
-
hashCodeConstants
public int hashCodeConstants() -
listIteratorConstants
-
listIteratorConstants
-
subListConstants
-
getConstantList
-
clearGrammarAnnotations
-
addGrammarAnnotation
-
addAllGrammarAnnotations
public ASTEnumProdBuilder addAllGrammarAnnotations(Collection<? extends ASTGrammarAnnotation> collection) -
removeGrammarAnnotation
-
removeAllGrammarAnnotations
-
retainAllGrammarAnnotations
-
removeIfGrammarAnnotation
-
forEachGrammarAnnotations
-
addGrammarAnnotation
-
addAllGrammarAnnotations
public ASTEnumProdBuilder addAllGrammarAnnotations(int index, Collection<? extends ASTGrammarAnnotation> collection) -
removeGrammarAnnotation
-
setGrammarAnnotation
-
replaceAllGrammarAnnotations
public ASTEnumProdBuilder replaceAllGrammarAnnotations(UnaryOperator<ASTGrammarAnnotation> operator) -
sortGrammarAnnotations
public ASTEnumProdBuilder sortGrammarAnnotations(Comparator<? super ASTGrammarAnnotation> comparator) -
setGrammarAnnotationsList
-
setName
-
clearConstants
-
addConstant
-
addAllConstants
-
removeConstant
-
removeAllConstants
-
retainAllConstants
-
removeIfConstant
-
forEachConstants
-
addConstant
-
addAllConstants
-
removeConstant
-
setConstant
-
replaceAllConstants
-
sortConstants
-
setConstantsList
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
set_SourcePositionStart
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
addAll_PreComments
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
addAll_PreComments
public ASTEnumProdBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
removeIf_PreComment
- Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
forEach_PreComments
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
replaceAll_PreComments
- Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
sort_PreComments
- Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
set_PreCommentList
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
set_PreComment
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
addAll_PostComments
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
addAll_PostComments
public ASTEnumProdBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
removeIf_PostComment
- Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
forEach_PostComments
- Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
replaceAll_PostComments
- Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
sort_PostComments
public ASTEnumProdBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
set_PostCommentList
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
set_PostComment
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTEnumProdBuilder>
-
uncheckedBuild
-