Class ASTNodeBuilder<T extends ASTNodeBuilder<?>>

java.lang.Object
de.monticore.ast.ASTNodeBuilder<T>

public abstract class ASTNodeBuilder<T extends ASTNodeBuilder<?>> extends Object
Foundation class for all ASTBuilder.
  • Field Details

    • sourcePositionStart

      protected Optional<de.se_rwth.commons.SourcePosition> sourcePositionStart
    • sourcePositionEnd

      protected Optional<de.se_rwth.commons.SourcePosition> sourcePositionEnd
    • precomments

      protected List<Comment> precomments
    • postcomments

      protected List<Comment> postcomments
    • realBuilder

      protected T extends ASTNodeBuilder<?> realBuilder
  • Constructor Details

    • ASTNodeBuilder

      protected ASTNodeBuilder()
  • Method Details

    • set_SourcePositionEnd

      public T set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)
    • get_SourcePositionEnd

      public de.se_rwth.commons.SourcePosition get_SourcePositionEnd()
    • isPresent_SourcePositionEnd

      public boolean isPresent_SourcePositionEnd()
    • set_SourcePositionEndAbsent

      public T set_SourcePositionEndAbsent()
    • set_SourcePositionStart

      public T set_SourcePositionStart(de.se_rwth.commons.SourcePosition start)
    • get_SourcePositionStart

      public de.se_rwth.commons.SourcePosition get_SourcePositionStart()
    • isPresent_SourcePositionStart

      public boolean isPresent_SourcePositionStart()
    • set_SourcePositionStartAbsent

      public T set_SourcePositionStartAbsent()
    • clear_PreComments

      public T clear_PreComments()
    • add_PreComment

      public T add_PreComment(Comment precomment)
    • addAll_PreComments

      public T addAll_PreComments(Collection<Comment> precomments)
    • contains_PreComment

      public boolean contains_PreComment(Object element)
    • containsAll_PreComments

      public boolean containsAll_PreComments(Collection<?> element)
    • isEmpty_PreComments

      public boolean isEmpty_PreComments()
    • iterator_PreComments

      public Iterator<Comment> iterator_PreComments()
    • remove_PreComment

      public T remove_PreComment(Object element)
    • removeAll_PreComments

      public T removeAll_PreComments(Collection<?> element)
    • retainAll_PreComments

      public T retainAll_PreComments(Collection<?> element)
    • size_PreComments

      public int size_PreComments()
    • toArray_PreComments

      public Comment[] toArray_PreComments(Comment[] array)
    • removeIf_PreComment

      public T removeIf_PreComment(Predicate<? super Comment> filter)
    • spliterator_PreComments

      public Spliterator<Comment> spliterator_PreComments()
    • stream_PreComments

      public Stream<Comment> stream_PreComments()
    • parallelStream_PreComments

      public Stream<Comment> parallelStream_PreComments()
    • forEach_PreComments

      public T forEach_PreComments(Consumer<? super Comment> action)
    • add_PreComment

      public T add_PreComment(int index, Comment precomment)
    • addAll_PreComments

      public T addAll_PreComments(int index, Collection<Comment> precomments)
    • get_PreComment

      public Comment get_PreComment(int index)
    • indexOf_PreComment

      public int indexOf_PreComment(Object element)
    • lastIndexOf_PreComment

      public int lastIndexOf_PreComment(Object element)
    • equals_PreComments

      public boolean equals_PreComments(Object element)
    • hashCode_PreComments

      public int hashCode_PreComments()
    • listIterator_PreComments

      public ListIterator<Comment> listIterator_PreComments()
    • remove_PreComment

      public T remove_PreComment(int index)
    • subList_PreComments

      public List<Comment> subList_PreComments(int start, int end)
    • replaceAll_PreComments

      public T replaceAll_PreComments(UnaryOperator<Comment> operator)
    • sort_PreComments

      public T sort_PreComments(Comparator<? super Comment> comparator)
    • set_PreCommentList

      public T set_PreCommentList(List<Comment> preComments)
    • get_PreCommentList

      public List<Comment> get_PreCommentList()
    • listIterator_PreComments

      public ListIterator<Comment> listIterator_PreComments(int index)
    • set_PreComment

      public T set_PreComment(int index, Comment precomment)
    • toArray_PreComments

      public Object[] toArray_PreComments()
    • clear_PostComments

      public T clear_PostComments()
    • add_PostComment

      public T add_PostComment(Comment postcomment)
    • addAll_PostComments

      public T addAll_PostComments(Collection<Comment> postcomments)
    • contains_PostComment

      public boolean contains_PostComment(Object element)
    • containsAll_PostComments

      public boolean containsAll_PostComments(Collection<?> element)
    • isEmpty_PostComments

      public boolean isEmpty_PostComments()
    • iterator_PostComments

      public Iterator<Comment> iterator_PostComments()
    • remove_PostComment

      public T remove_PostComment(Object element)
    • removeAll_PostComments

      public T removeAll_PostComments(Collection<?> element)
    • retainAll_PostComments

      public T retainAll_PostComments(Collection<?> element)
    • size_PostComments

      public int size_PostComments()
    • toArray_PostComments

      public Comment[] toArray_PostComments(Comment[] array)
    • removeIf_PostComment

      public T removeIf_PostComment(Predicate<? super Comment> filter)
    • spliterator_PostComments

      public Spliterator<Comment> spliterator_PostComments()
    • stream_PostComments

      public Stream<Comment> stream_PostComments()
    • parallelStream_PostComments

      public Stream<Comment> parallelStream_PostComments()
    • forEach_PostComments

      public T forEach_PostComments(Consumer<? super Comment> action)
    • add_PostComment

      public T add_PostComment(int index, Comment postcomment)
    • addAll_PostComments

      public T addAll_PostComments(int index, Collection<Comment> postcomments)
    • get_PostComment

      public Comment get_PostComment(int index)
    • indexOf_PostComment

      public int indexOf_PostComment(Object element)
    • lastIndexOf_PostComment

      public int lastIndexOf_PostComment(Object element)
    • equals_PostComments

      public boolean equals_PostComments(Object element)
    • hashCode_PostComments

      public int hashCode_PostComments()
    • listIterator_PostComments

      public ListIterator<Comment> listIterator_PostComments()
    • remove_PostComment

      public T remove_PostComment(int index)
    • subList_PostComments

      public List<Comment> subList_PostComments(int start, int end)
    • replaceAll_PostComments

      public T replaceAll_PostComments(UnaryOperator<Comment> operator)
    • sort_PostComments

      public T sort_PostComments(Comparator<? super Comment> comparator)
    • set_PostCommentList

      public T set_PostCommentList(List<Comment> postComments)
    • get_PostCommentList

      public List<Comment> get_PostCommentList()
    • listIterator_PostComments

      public ListIterator<Comment> listIterator_PostComments(int index)
    • set_PostComment

      public T set_PostComment(int index, Comment precomment)
    • toArray_PostComments

      public Object[] toArray_PostComments()