Class ASTConceptAntlrBuilder
java.lang.Object
de.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
de.monticore.grammar.concepts.antlr.antlr._ast.ASTConceptAntlrBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ASTAntlrLexerAction> protected List<ASTAntlrParserAction> protected ASTConceptAntlrBuilderFields 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) addAllAntlrLexerActions(int index, Collection<? extends ASTAntlrLexerAction> collection) addAllAntlrLexerActions(Collection<? extends ASTAntlrLexerAction> collection) addAllAntlrParserActions(int index, Collection<? extends ASTAntlrParserAction> collection) addAllAntlrParserActions(Collection<? extends ASTAntlrParserAction> collection) addAntlrLexerAction(int index, ASTAntlrLexerAction element) addAntlrLexerAction(ASTAntlrLexerAction element) addAntlrParserAction(int index, ASTAntlrParserAction element) addAntlrParserAction(ASTAntlrParserAction element) build()booleancontainsAllAntlrLexerActions(Collection<?> collection) booleancontainsAllAntlrParserActions(Collection<?> collection) booleancontainsAntlrLexerAction(Object element) booleancontainsAntlrParserAction(Object element) booleanbooleanforEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) forEachAntlrLexerActions(Consumer<? super ASTAntlrLexerAction> action) forEachAntlrParserActions(Consumer<? super ASTAntlrParserAction> action) getAntlrLexerAction(int index) getAntlrParserAction(int index) intintintindexOfAntlrLexerAction(Object element) intindexOfAntlrParserAction(Object element) booleanbooleanbooleanisValid()intlastIndexOfAntlrLexerAction(Object element) intlastIndexOfAntlrParserAction(Object element) listIteratorAntlrLexerActions(int index) listIteratorAntlrParserActions(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) removeAllAntlrLexerActions(Collection<?> collection) removeAllAntlrParserActions(Collection<?> collection) removeAntlrLexerAction(int index) removeAntlrLexerAction(Object element) removeAntlrParserAction(int index) removeAntlrParserAction(Object element) removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) removeIfAntlrLexerAction(Predicate<? super ASTAntlrLexerAction> filter) removeIfAntlrParserAction(Predicate<? super ASTAntlrParserAction> filter) replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) retainAll_PostComments(Collection<?> element) retainAll_PreComments(Collection<?> element) retainAllAntlrLexerActions(Collection<?> collection) retainAllAntlrParserActions(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) setAntlrLexerAction(int index, ASTAntlrLexerAction element) setAntlrLexerActionsList(List<ASTAntlrLexerAction> antlrLexerActions) setAntlrParserAction(int index, ASTAntlrParserAction element) setAntlrParserActionsList(List<ASTAntlrParserAction> antlrParserActions) intintsort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) sortAntlrLexerActions(Comparator<? super ASTAntlrLexerAction> comparator) sortAntlrParserActions(Comparator<? super ASTAntlrParserAction> comparator) subListAntlrLexerActions(int start, int end) subListAntlrParserActions(int start, int end) Object[]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
-
antlrParserActions
-
antlrLexerActions
-
-
Constructor Details
-
ASTConceptAntlrBuilder
public ASTConceptAntlrBuilder()
-
-
Method Details
-
build
-
isValid
public boolean isValid() -
containsAntlrParserAction
-
containsAllAntlrParserActions
-
isEmptyAntlrParserActions
public boolean isEmptyAntlrParserActions() -
iteratorAntlrParserActions
-
sizeAntlrParserActions
public int sizeAntlrParserActions() -
toArrayAntlrParserActions
-
toArrayAntlrParserActions
-
spliteratorAntlrParserActions
-
streamAntlrParserActions
-
parallelStreamAntlrParserActions
-
getAntlrParserAction
-
indexOfAntlrParserAction
-
lastIndexOfAntlrParserAction
-
equalsAntlrParserActions
-
hashCodeAntlrParserActions
public int hashCodeAntlrParserActions() -
listIteratorAntlrParserActions
-
listIteratorAntlrParserActions
-
subListAntlrParserActions
-
getAntlrParserActionList
-
containsAntlrLexerAction
-
containsAllAntlrLexerActions
-
isEmptyAntlrLexerActions
public boolean isEmptyAntlrLexerActions() -
iteratorAntlrLexerActions
-
sizeAntlrLexerActions
public int sizeAntlrLexerActions() -
toArrayAntlrLexerActions
-
toArrayAntlrLexerActions
-
spliteratorAntlrLexerActions
-
streamAntlrLexerActions
-
parallelStreamAntlrLexerActions
-
getAntlrLexerAction
-
indexOfAntlrLexerAction
-
lastIndexOfAntlrLexerAction
-
equalsAntlrLexerActions
-
hashCodeAntlrLexerActions
public int hashCodeAntlrLexerActions() -
listIteratorAntlrLexerActions
-
listIteratorAntlrLexerActions
-
subListAntlrLexerActions
-
getAntlrLexerActionList
-
clearAntlrParserActions
-
addAntlrParserAction
-
addAllAntlrParserActions
public ASTConceptAntlrBuilder addAllAntlrParserActions(Collection<? extends ASTAntlrParserAction> collection) -
removeAntlrParserAction
-
removeAllAntlrParserActions
-
retainAllAntlrParserActions
-
removeIfAntlrParserAction
public ASTConceptAntlrBuilder removeIfAntlrParserAction(Predicate<? super ASTAntlrParserAction> filter) -
forEachAntlrParserActions
public ASTConceptAntlrBuilder forEachAntlrParserActions(Consumer<? super ASTAntlrParserAction> action) -
addAntlrParserAction
-
addAllAntlrParserActions
public ASTConceptAntlrBuilder addAllAntlrParserActions(int index, Collection<? extends ASTAntlrParserAction> collection) -
removeAntlrParserAction
-
setAntlrParserAction
-
replaceAllAntlrParserActions
public ASTConceptAntlrBuilder replaceAllAntlrParserActions(UnaryOperator<ASTAntlrParserAction> operator) -
sortAntlrParserActions
public ASTConceptAntlrBuilder sortAntlrParserActions(Comparator<? super ASTAntlrParserAction> comparator) -
setAntlrParserActionsList
public ASTConceptAntlrBuilder setAntlrParserActionsList(List<ASTAntlrParserAction> antlrParserActions) -
clearAntlrLexerActions
-
addAntlrLexerAction
-
addAllAntlrLexerActions
public ASTConceptAntlrBuilder addAllAntlrLexerActions(Collection<? extends ASTAntlrLexerAction> collection) -
removeAntlrLexerAction
-
removeAllAntlrLexerActions
-
retainAllAntlrLexerActions
-
removeIfAntlrLexerAction
public ASTConceptAntlrBuilder removeIfAntlrLexerAction(Predicate<? super ASTAntlrLexerAction> filter) -
forEachAntlrLexerActions
public ASTConceptAntlrBuilder forEachAntlrLexerActions(Consumer<? super ASTAntlrLexerAction> action) -
addAntlrLexerAction
-
addAllAntlrLexerActions
public ASTConceptAntlrBuilder addAllAntlrLexerActions(int index, Collection<? extends ASTAntlrLexerAction> collection) -
removeAntlrLexerAction
-
setAntlrLexerAction
-
replaceAllAntlrLexerActions
public ASTConceptAntlrBuilder replaceAllAntlrLexerActions(UnaryOperator<ASTAntlrLexerAction> operator) -
sortAntlrLexerActions
public ASTConceptAntlrBuilder sortAntlrLexerActions(Comparator<? super ASTAntlrLexerAction> comparator) -
setAntlrLexerActionsList
-
set_SourcePositionEnd
- Overrides:
set_SourcePositionEndin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
set_SourcePositionEndAbsent
- Overrides:
set_SourcePositionEndAbsentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
set_SourcePositionStart
- Overrides:
set_SourcePositionStartin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
set_SourcePositionStartAbsent
- Overrides:
set_SourcePositionStartAbsentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
clear_PreComments
- Overrides:
clear_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
add_PreComment
- Overrides:
add_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
addAll_PreComments
- Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
addAll_PreComments
public ASTConceptAntlrBuilder addAll_PreComments(int index, Collection<de.monticore.ast.Comment> precomments) - Overrides:
addAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
remove_PreComment
- Overrides:
remove_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
removeAll_PreComments
- Overrides:
removeAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
retainAll_PreComments
- Overrides:
retainAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
removeIf_PreComment
public ASTConceptAntlrBuilder removeIf_PreComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
forEach_PreComments
public ASTConceptAntlrBuilder forEach_PreComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
replaceAll_PreComments
public ASTConceptAntlrBuilder replaceAll_PreComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
sort_PreComments
public ASTConceptAntlrBuilder sort_PreComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PreCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
set_PreCommentList
- Overrides:
set_PreCommentListin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
set_PreComment
- Overrides:
set_PreCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
clear_PostComments
- Overrides:
clear_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
add_PostComment
- Overrides:
add_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
addAll_PostComments
public ASTConceptAntlrBuilder addAll_PostComments(Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
addAll_PostComments
public ASTConceptAntlrBuilder addAll_PostComments(int index, Collection<de.monticore.ast.Comment> postcomments) - Overrides:
addAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
remove_PostComment
- Overrides:
remove_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
removeAll_PostComments
- Overrides:
removeAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
retainAll_PostComments
- Overrides:
retainAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
removeIf_PostComment
public ASTConceptAntlrBuilder removeIf_PostComment(Predicate<? super de.monticore.ast.Comment> filter) - Overrides:
removeIf_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
forEach_PostComments
public ASTConceptAntlrBuilder forEach_PostComments(Consumer<? super de.monticore.ast.Comment> action) - Overrides:
forEach_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
replaceAll_PostComments
public ASTConceptAntlrBuilder replaceAll_PostComments(UnaryOperator<de.monticore.ast.Comment> operator) - Overrides:
replaceAll_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
sort_PostComments
public ASTConceptAntlrBuilder sort_PostComments(Comparator<? super de.monticore.ast.Comment> comparator) - Overrides:
sort_PostCommentsin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
set_PostCommentList
- Overrides:
set_PostCommentListin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
set_PostComment
- Overrides:
set_PostCommentin classde.monticore.ast.ASTNodeBuilder<ASTConceptAntlrBuilder>
-
uncheckedBuild
-