Class ASTCharLiteralBuilder
- java.lang.Object
-
- de.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
- de.monticore.literals.mccommonliterals._ast.ASTCharLiteralBuilder
-
public class ASTCharLiteralBuilder extends de.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected ASTCharLiteralBuilderrealBuilderprotected java.lang.Stringsource
-
Constructor Summary
Constructors Constructor Description ASTCharLiteralBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ASTCharLiteralBuilderadd_PostComment(int index, de.monticore.ast.Comment postcomment)ASTCharLiteralBuilderadd_PostComment(de.monticore.ast.Comment postcomment)ASTCharLiteralBuilderadd_PreComment(int index, de.monticore.ast.Comment precomment)ASTCharLiteralBuilderadd_PreComment(de.monticore.ast.Comment precomment)ASTCharLiteralBuilderaddAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)ASTCharLiteralBuilderaddAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)ASTCharLiteralBuilderaddAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)ASTCharLiteralBuilderaddAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)ASTCharLiteralbuild()ASTCharLiteralBuilderclear_PostComments()ASTCharLiteralBuilderclear_PreComments()ASTCharLiteralBuilderforEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)ASTCharLiteralBuilderforEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)java.lang.StringgetSource()booleanisValid()ASTCharLiteralBuilderremove_PostComment(int index)ASTCharLiteralBuilderremove_PostComment(java.lang.Object element)ASTCharLiteralBuilderremove_PreComment(int index)ASTCharLiteralBuilderremove_PreComment(java.lang.Object element)ASTCharLiteralBuilderremoveAll_PostComments(java.util.Collection<?> element)ASTCharLiteralBuilderremoveAll_PreComments(java.util.Collection<?> element)ASTCharLiteralBuilderremoveIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)ASTCharLiteralBuilderremoveIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)ASTCharLiteralBuilderreplaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)ASTCharLiteralBuilderreplaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)ASTCharLiteralBuilderretainAll_PostComments(java.util.Collection<?> element)ASTCharLiteralBuilderretainAll_PreComments(java.util.Collection<?> element)ASTCharLiteralBuilderset_PostComment(int index, de.monticore.ast.Comment postcomment)ASTCharLiteralBuilderset_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)ASTCharLiteralBuilderset_PreComment(int index, de.monticore.ast.Comment precomment)ASTCharLiteralBuilderset_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)ASTCharLiteralBuilderset_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)ASTCharLiteralBuilderset_SourcePositionEndAbsent()ASTCharLiteralBuilderset_SourcePositionStart(de.se_rwth.commons.SourcePosition start)ASTCharLiteralBuilderset_SourcePositionStartAbsent()ASTCharLiteralBuildersetSource(java.lang.String source)ASTCharLiteralBuildersort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)ASTCharLiteralBuildersort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)ASTCharLiteraluncheckedBuild()-
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 Detail
-
realBuilder
protected ASTCharLiteralBuilder realBuilder
-
source
protected java.lang.String source
-
-
Method Detail
-
build
public ASTCharLiteral build()
-
isValid
public boolean isValid()
-
getSource
public java.lang.String getSource()
-
setSource
public ASTCharLiteralBuilder setSource(java.lang.String source)
-
set_SourcePositionEnd
public ASTCharLiteralBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
set_SourcePositionEndAbsent
public ASTCharLiteralBuilder set_SourcePositionEndAbsent()
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
set_SourcePositionStart
public ASTCharLiteralBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start)
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
set_SourcePositionStartAbsent
public ASTCharLiteralBuilder set_SourcePositionStartAbsent()
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
clear_PreComments
public ASTCharLiteralBuilder clear_PreComments()
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
add_PreComment
public ASTCharLiteralBuilder add_PreComment(de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
add_PreComment
public ASTCharLiteralBuilder add_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
addAll_PreComments
public ASTCharLiteralBuilder addAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
addAll_PreComments
public ASTCharLiteralBuilder addAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
remove_PreComment
public ASTCharLiteralBuilder remove_PreComment(java.lang.Object element)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
remove_PreComment
public ASTCharLiteralBuilder remove_PreComment(int index)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
removeAll_PreComments
public ASTCharLiteralBuilder removeAll_PreComments(java.util.Collection<?> element)
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
retainAll_PreComments
public ASTCharLiteralBuilder retainAll_PreComments(java.util.Collection<?> element)
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
removeIf_PreComment
public ASTCharLiteralBuilder removeIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
forEach_PreComments
public ASTCharLiteralBuilder forEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
replaceAll_PreComments
public ASTCharLiteralBuilder replaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
sort_PreComments
public ASTCharLiteralBuilder sort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
set_PreCommentList
public ASTCharLiteralBuilder set_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
set_PreComment
public ASTCharLiteralBuilder set_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
clear_PostComments
public ASTCharLiteralBuilder clear_PostComments()
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
add_PostComment
public ASTCharLiteralBuilder add_PostComment(de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
add_PostComment
public ASTCharLiteralBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
addAll_PostComments
public ASTCharLiteralBuilder addAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
addAll_PostComments
public ASTCharLiteralBuilder addAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
remove_PostComment
public ASTCharLiteralBuilder remove_PostComment(java.lang.Object element)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
remove_PostComment
public ASTCharLiteralBuilder remove_PostComment(int index)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
removeAll_PostComments
public ASTCharLiteralBuilder removeAll_PostComments(java.util.Collection<?> element)
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
retainAll_PostComments
public ASTCharLiteralBuilder retainAll_PostComments(java.util.Collection<?> element)
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
removeIf_PostComment
public ASTCharLiteralBuilder removeIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
forEach_PostComments
public ASTCharLiteralBuilder forEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
replaceAll_PostComments
public ASTCharLiteralBuilder replaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
sort_PostComments
public ASTCharLiteralBuilder sort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
set_PostCommentList
public ASTCharLiteralBuilder set_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
set_PostComment
public ASTCharLiteralBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTCharLiteralBuilder>
-
uncheckedBuild
public ASTCharLiteral uncheckedBuild()
-
-