Class ASTConceptAntlr
java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.grammar.concepts.antlr.antlr._ast.ASTConceptAntlr
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTAntlrNode,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ASTAntlrLexerAction> protected List<ASTAntlrParserAction> protected IAntlrScopeFields inherited from class de.monticore.ast.ASTCNode
end, postcomments, precomments, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ASTConceptAntlrvoidaccept(AntlrTraverser visitor) Entry point for the Visitor pattern.voidaccept(de.monticore.visitor.ITraverser visitor) Entry point for the Visitor pattern.booleanaddAllAntlrLexerActions(int index, Collection<? extends ASTAntlrLexerAction> collection) booleanaddAllAntlrLexerActions(Collection<? extends ASTAntlrLexerAction> collection) booleanaddAllAntlrParserActions(int index, Collection<? extends ASTAntlrParserAction> collection) booleanaddAllAntlrParserActions(Collection<? extends ASTAntlrParserAction> collection) voidaddAntlrLexerAction(int index, ASTAntlrLexerAction element) booleanaddAntlrLexerAction(ASTAntlrLexerAction element) voidaddAntlrParserAction(int index, ASTAntlrParserAction element) booleanaddAntlrParserAction(ASTAntlrParserAction element) voidvoidbooleancontainsAllAntlrLexerActions(Collection<?> collection) booleancontainsAllAntlrParserActions(Collection<?> collection) booleancontainsAntlrLexerAction(Object element) booleancontainsAntlrParserAction(Object element) deepClone(ASTConceptAntlr result) booleandeepEquals(Object o) booleandeepEquals(Object o, boolean forceSameOrder) booleanbooleandeepEqualsWithComments(Object o, boolean forceSameOrder) booleanbooleanbooleanbooleande.monticore.interpreter.Valueevaluate(IAntlrInterpreter interpreter) de.monticore.interpreter.Valueevaluate(de.monticore.interpreter.ModelInterpreter interpreter) voidforEachAntlrLexerActions(Consumer<? super ASTAntlrLexerAction> action) voidforEachAntlrParserActions(Consumer<? super ASTAntlrParserAction> action) getAntlrLexerAction(int index) getAntlrParserAction(int index) intintintindexOfAntlrLexerAction(Object element) intindexOfAntlrParserAction(Object element) booleanbooleanintlastIndexOfAntlrLexerAction(Object element) intlastIndexOfAntlrParserAction(Object element) listIteratorAntlrLexerActions(int index) listIteratorAntlrParserActions(int index) booleanremoveAllAntlrLexerActions(Collection<?> collection) booleanremoveAllAntlrParserActions(Collection<?> collection) removeAntlrLexerAction(int index) booleanremoveAntlrLexerAction(Object element) removeAntlrParserAction(int index) booleanremoveAntlrParserAction(Object element) booleanremoveIfAntlrLexerAction(Predicate<? super ASTAntlrLexerAction> filter) booleanremoveIfAntlrParserAction(Predicate<? super ASTAntlrParserAction> filter) voidvoidbooleanretainAllAntlrLexerActions(Collection<?> collection) booleanretainAllAntlrParserActions(Collection<?> collection) setAntlrLexerAction(int index, ASTAntlrLexerAction element) voidsetAntlrLexerActionList(List<ASTAntlrLexerAction> antlrLexerActions) setAntlrParserAction(int index, ASTAntlrParserAction element) voidsetAntlrParserActionList(List<ASTAntlrParserAction> antlrParserActions) voidsetEnclosingScope(IAntlrScope enclosingScope) intintvoidsortAntlrLexerActions(Comparator<? super ASTAntlrLexerAction> comparator) voidsortAntlrParserActions(Comparator<? super ASTAntlrParserAction> comparator) subListAntlrLexerActions(int start, int end) subListAntlrParserActions(int start, int end) Object[]Object[]toString()Methods inherited from class de.monticore.ast.ASTCNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_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, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreCommentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.monticore.ast.ASTNode
add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_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, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
-
Field Details
-
antlrParserActions
-
antlrLexerActions
-
enclosingScope
-
-
Constructor Details
-
ASTConceptAntlr
protected ASTConceptAntlr()
-
-
Method Details
-
toString
-
deepEquals
- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEquals
- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
equalAttributes
- Specified by:
equalAttributesin interfacede.monticore.ast.ASTNode
-
equalsWithComments
- Specified by:
equalsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepClone
- Specified by:
deepClonein interfacede.monticore.ast.ASTNode- Specified by:
deepClonein classde.monticore.ast.ASTCNode
-
deepClone
-
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
public void clearAntlrParserActions() -
addAntlrParserAction
-
addAllAntlrParserActions
-
removeAntlrParserAction
-
removeAllAntlrParserActions
-
retainAllAntlrParserActions
-
removeIfAntlrParserAction
-
forEachAntlrParserActions
-
addAntlrParserAction
-
addAllAntlrParserActions
public boolean addAllAntlrParserActions(int index, Collection<? extends ASTAntlrParserAction> collection) -
removeAntlrParserAction
-
setAntlrParserAction
-
replaceAllAntlrParserActions
-
sortAntlrParserActions
-
setAntlrParserActionList
-
clearAntlrLexerActions
public void clearAntlrLexerActions() -
addAntlrLexerAction
-
addAllAntlrLexerActions
-
removeAntlrLexerAction
-
removeAllAntlrLexerActions
-
retainAllAntlrLexerActions
-
removeIfAntlrLexerAction
-
forEachAntlrLexerActions
-
addAntlrLexerAction
-
addAllAntlrLexerActions
public boolean addAllAntlrLexerActions(int index, Collection<? extends ASTAntlrLexerAction> collection) -
removeAntlrLexerAction
-
setAntlrLexerAction
-
replaceAllAntlrLexerActions
-
sortAntlrLexerActions
-
setAntlrLexerActionList
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTAntlrNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfacede.monticore.ast.ASTNode- Parameters:
visitor- the visitor to dispatch to
-
_construct
-
getEnclosingScope
- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode
-
setEnclosingScope
-
evaluate
-
evaluate
public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter) - Specified by:
evaluatein interfacede.monticore.ast.ASTNode
-