Class ASTStreamConstructorElementBuilder
- java.lang.Object
-
- de.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
- de.monticore.expressions.streamexpressions._ast.ASTStreamConstructorElementBuilder
-
public class ASTStreamConstructorElementBuilder extends de.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Optional<java.lang.String>absentprotected java.util.Optional<ASTExpression>expressionprotected ASTStreamConstructorElementBuilderrealBuilderprotected java.util.Optional<java.lang.String>tick
-
Constructor Summary
Constructors Constructor Description ASTStreamConstructorElementBuilder()
-
Method Summary
-
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 ASTStreamConstructorElementBuilder realBuilder
-
expression
protected java.util.Optional<ASTExpression> expression
-
tick
protected java.util.Optional<java.lang.String> tick
-
absent
protected java.util.Optional<java.lang.String> absent
-
-
Method Detail
-
build
public ASTStreamConstructorElement build()
-
isValid
public boolean isValid()
-
getExpression
public ASTExpression getExpression()
-
isPresentExpression
public boolean isPresentExpression()
-
getTick
public java.lang.String getTick()
-
isPresentTick
public boolean isPresentTick()
-
getAbsent
public java.lang.String getAbsent()
-
isPresentAbsent
public boolean isPresentAbsent()
-
setExpression
public ASTStreamConstructorElementBuilder setExpression(ASTExpression expression)
-
setExpressionAbsent
public ASTStreamConstructorElementBuilder setExpressionAbsent()
-
setTick
public ASTStreamConstructorElementBuilder setTick(java.lang.String tick)
-
setTickAbsent
public ASTStreamConstructorElementBuilder setTickAbsent()
-
setAbsent
public ASTStreamConstructorElementBuilder setAbsent(java.lang.String absent)
-
setAbsentAbsent
public ASTStreamConstructorElementBuilder setAbsentAbsent()
-
set_SourcePositionEnd
public ASTStreamConstructorElementBuilder set_SourcePositionEnd(de.se_rwth.commons.SourcePosition end)
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
set_SourcePositionEndAbsent
public ASTStreamConstructorElementBuilder set_SourcePositionEndAbsent()
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
set_SourcePositionStart
public ASTStreamConstructorElementBuilder set_SourcePositionStart(de.se_rwth.commons.SourcePosition start)
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
set_SourcePositionStartAbsent
public ASTStreamConstructorElementBuilder set_SourcePositionStartAbsent()
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
clear_PreComments
public ASTStreamConstructorElementBuilder clear_PreComments()
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
add_PreComment
public ASTStreamConstructorElementBuilder add_PreComment(de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
add_PreComment
public ASTStreamConstructorElementBuilder add_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
addAll_PreComments
public ASTStreamConstructorElementBuilder addAll_PreComments(java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
addAll_PreComments
public ASTStreamConstructorElementBuilder addAll_PreComments(int index, java.util.Collection<de.monticore.ast.Comment> precomments)
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
remove_PreComment
public ASTStreamConstructorElementBuilder remove_PreComment(java.lang.Object element)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
remove_PreComment
public ASTStreamConstructorElementBuilder remove_PreComment(int index)
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
removeAll_PreComments
public ASTStreamConstructorElementBuilder removeAll_PreComments(java.util.Collection<?> element)
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
retainAll_PreComments
public ASTStreamConstructorElementBuilder retainAll_PreComments(java.util.Collection<?> element)
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
removeIf_PreComment
public ASTStreamConstructorElementBuilder removeIf_PreComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
forEach_PreComments
public ASTStreamConstructorElementBuilder forEach_PreComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
replaceAll_PreComments
public ASTStreamConstructorElementBuilder replaceAll_PreComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
sort_PreComments
public ASTStreamConstructorElementBuilder sort_PreComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
set_PreCommentList
public ASTStreamConstructorElementBuilder set_PreCommentList(java.util.List<de.monticore.ast.Comment> preComments)
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
set_PreComment
public ASTStreamConstructorElementBuilder set_PreComment(int index, de.monticore.ast.Comment precomment)
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
clear_PostComments
public ASTStreamConstructorElementBuilder clear_PostComments()
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
add_PostComment
public ASTStreamConstructorElementBuilder add_PostComment(de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
add_PostComment
public ASTStreamConstructorElementBuilder add_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
addAll_PostComments
public ASTStreamConstructorElementBuilder addAll_PostComments(java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
addAll_PostComments
public ASTStreamConstructorElementBuilder addAll_PostComments(int index, java.util.Collection<de.monticore.ast.Comment> postcomments)
- Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
remove_PostComment
public ASTStreamConstructorElementBuilder remove_PostComment(java.lang.Object element)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
remove_PostComment
public ASTStreamConstructorElementBuilder remove_PostComment(int index)
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
removeAll_PostComments
public ASTStreamConstructorElementBuilder removeAll_PostComments(java.util.Collection<?> element)
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
retainAll_PostComments
public ASTStreamConstructorElementBuilder retainAll_PostComments(java.util.Collection<?> element)
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
removeIf_PostComment
public ASTStreamConstructorElementBuilder removeIf_PostComment(java.util.function.Predicate<? super de.monticore.ast.Comment> filter)
- Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
forEach_PostComments
public ASTStreamConstructorElementBuilder forEach_PostComments(java.util.function.Consumer<? super de.monticore.ast.Comment> action)
- Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
replaceAll_PostComments
public ASTStreamConstructorElementBuilder replaceAll_PostComments(java.util.function.UnaryOperator<de.monticore.ast.Comment> operator)
- Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
sort_PostComments
public ASTStreamConstructorElementBuilder sort_PostComments(java.util.Comparator<? super de.monticore.ast.Comment> comparator)
- Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
set_PostCommentList
public ASTStreamConstructorElementBuilder set_PostCommentList(java.util.List<de.monticore.ast.Comment> postComments)
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
set_PostComment
public ASTStreamConstructorElementBuilder set_PostComment(int index, de.monticore.ast.Comment postcomment)
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTStreamConstructorElementBuilder>
-
uncheckedBuild
public ASTStreamConstructorElement uncheckedBuild()
-
-