Package de.monticore.ast
Class ASTNodeBuilder<T extends ASTNodeBuilder<?>>
java.lang.Object
de.monticore.ast.ASTNodeBuilder<T>
Foundation class for all ASTBuilder.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd_PostComment(int index, Comment postcomment) add_PostComment(Comment postcomment) add_PreComment(int index, Comment precomment) add_PreComment(Comment precomment) addAll_PostComments(int index, Collection<Comment> postcomments) addAll_PostComments(Collection<Comment> postcomments) addAll_PreComments(int index, Collection<Comment> precomments) addAll_PreComments(Collection<Comment> precomments) booleancontains_PostComment(Object element) booleancontains_PreComment(Object element) booleancontainsAll_PostComments(Collection<?> element) booleancontainsAll_PreComments(Collection<?> element) booleanequals_PostComments(Object element) booleanequals_PreComments(Object element) forEach_PostComments(Consumer<? super Comment> action) forEach_PreComments(Consumer<? super Comment> action) get_PostComment(int index) get_PreComment(int index) de.se_rwth.commons.SourcePositionde.se_rwth.commons.SourcePositionintintintindexOf_PostComment(Object element) intindexOf_PreComment(Object element) booleanbooleanbooleanbooleanintlastIndexOf_PostComment(Object element) intlastIndexOf_PreComment(Object element) listIterator_PostComments(int index) listIterator_PreComments(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) removeIf_PostComment(Predicate<? super Comment> filter) removeIf_PreComment(Predicate<? super Comment> filter) replaceAll_PostComments(UnaryOperator<Comment> operator) replaceAll_PreComments(UnaryOperator<Comment> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) set_PostComment(int index, Comment precomment) set_PostCommentList(List<Comment> postComments) set_PreComment(int index, Comment precomment) set_PreCommentList(List<Comment> preComments) set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end) set_SourcePositionStart(de.se_rwth.commons.SourcePosition start) intintsort_PostComments(Comparator<? super Comment> comparator) sort_PreComments(Comparator<? super Comment> comparator) subList_PostComments(int start, int end) subList_PreComments(int start, int end) Object[]Comment[]toArray_PostComments(Comment[] array) Object[]Comment[]toArray_PreComments(Comment[] array)
-
Field Details
-
sourcePositionStart
-
sourcePositionEnd
-
precomments
-
postcomments
-
realBuilder
-
-
Constructor Details
-
ASTNodeBuilder
protected ASTNodeBuilder()
-
-
Method Details
-
set_SourcePositionEnd
-
get_SourcePositionEnd
public de.se_rwth.commons.SourcePosition get_SourcePositionEnd() -
isPresent_SourcePositionEnd
public boolean isPresent_SourcePositionEnd() -
set_SourcePositionEndAbsent
-
set_SourcePositionStart
-
get_SourcePositionStart
public de.se_rwth.commons.SourcePosition get_SourcePositionStart() -
isPresent_SourcePositionStart
public boolean isPresent_SourcePositionStart() -
set_SourcePositionStartAbsent
-
clear_PreComments
-
add_PreComment
-
addAll_PreComments
-
contains_PreComment
-
containsAll_PreComments
-
isEmpty_PreComments
public boolean isEmpty_PreComments() -
iterator_PreComments
-
remove_PreComment
-
removeAll_PreComments
-
retainAll_PreComments
-
size_PreComments
public int size_PreComments() -
toArray_PreComments
-
removeIf_PreComment
-
spliterator_PreComments
-
stream_PreComments
-
parallelStream_PreComments
-
forEach_PreComments
-
add_PreComment
-
addAll_PreComments
-
get_PreComment
-
indexOf_PreComment
-
lastIndexOf_PreComment
-
equals_PreComments
-
hashCode_PreComments
public int hashCode_PreComments() -
listIterator_PreComments
-
remove_PreComment
-
subList_PreComments
-
replaceAll_PreComments
-
sort_PreComments
-
set_PreCommentList
-
get_PreCommentList
-
listIterator_PreComments
-
set_PreComment
-
toArray_PreComments
-
clear_PostComments
-
add_PostComment
-
addAll_PostComments
-
contains_PostComment
-
containsAll_PostComments
-
isEmpty_PostComments
public boolean isEmpty_PostComments() -
iterator_PostComments
-
remove_PostComment
-
removeAll_PostComments
-
retainAll_PostComments
-
size_PostComments
public int size_PostComments() -
toArray_PostComments
-
removeIf_PostComment
-
spliterator_PostComments
-
stream_PostComments
-
parallelStream_PostComments
-
forEach_PostComments
-
add_PostComment
-
addAll_PostComments
-
get_PostComment
-
indexOf_PostComment
-
lastIndexOf_PostComment
-
equals_PostComments
-
hashCode_PostComments
public int hashCode_PostComments() -
listIterator_PostComments
-
remove_PostComment
-
subList_PostComments
-
replaceAll_PostComments
-
sort_PostComments
-
set_PostCommentList
-
get_PostCommentList
-
listIterator_PostComments
-
set_PostComment
-
toArray_PostComments
-