Class ASTMCGrammar
java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.grammar.grammar._ast.ASTMCGrammar
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTGrammarNode,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ASTAbstractProd> protected List<ASTASTRule> protected List<ASTClassProd> protected booleanprotected List<ASTConcept> protected IGrammarScopeprotected List<ASTEnumProd> protected List<ASTExternalProd> protected Optional<ASTGrammarAnnotation> protected Optional<ASTGrammarOption> protected List<ASTMCImportStatement> protected List<ASTInterfaceProd> protected List<ASTKeywordRule> protected List<ASTLexProd> protected Stringprotected List<ASTReplaceRule> protected Optional<ASTScopeRule> protected IGrammarScopeprotected List<ASTSplitRule> protected Optional<ASTStartRule> protected List<ASTGrammarReference> protected Optional<MCGrammarSymbol> protected List<ASTSymbolRule> Fields inherited from class de.monticore.ast.ASTCNode
end, postcomments, precomments, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ASTMCGrammarvoidaccept(GrammarTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCCommonLiteralsTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCLiteralsBasisTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCBasicsTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCBasicTypesTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCCollectionTypesTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCSimpleGenericTypesTraverser visitor) Entry point for the Visitor pattern.voidaccept(de.monticore.visitor.ITraverser visitor) Entry point for the Visitor pattern.voidaddAbstractProd(int index, ASTAbstractProd element) booleanaddAbstractProd(ASTAbstractProd element) booleanaddAllAbstractProds(int index, Collection<? extends ASTAbstractProd> collection) booleanaddAllAbstractProds(Collection<? extends ASTAbstractProd> collection) booleanaddAllASTRules(int index, Collection<? extends ASTASTRule> collection) booleanaddAllASTRules(Collection<? extends ASTASTRule> collection) booleanaddAllClassProds(int index, Collection<? extends ASTClassProd> collection) booleanaddAllClassProds(Collection<? extends ASTClassProd> collection) booleanaddAllConcepts(int index, Collection<? extends ASTConcept> collection) booleanaddAllConcepts(Collection<? extends ASTConcept> collection) booleanaddAllEnumProds(int index, Collection<? extends ASTEnumProd> collection) booleanaddAllEnumProds(Collection<? extends ASTEnumProd> collection) booleanaddAllExternalProds(int index, Collection<? extends ASTExternalProd> collection) booleanaddAllExternalProds(Collection<? extends ASTExternalProd> collection) booleanaddAllImportStatement(int index, Collection<? extends ASTMCImportStatement> collection) booleanaddAllImportStatement(Collection<? extends ASTMCImportStatement> collection) booleanaddAllInterfaceProds(int index, Collection<? extends ASTInterfaceProd> collection) booleanaddAllInterfaceProds(Collection<? extends ASTInterfaceProd> collection) booleanaddAllKeywordRules(int index, Collection<? extends ASTKeywordRule> collection) booleanaddAllKeywordRules(Collection<? extends ASTKeywordRule> collection) booleanaddAllLexProds(int index, Collection<? extends ASTLexProd> collection) booleanaddAllLexProds(Collection<? extends ASTLexProd> collection) booleanaddAllPackage(int index, Collection<? extends String> collection) booleanaddAllPackage(Collection<? extends String> collection) booleanaddAllReplaceRules(int index, Collection<? extends ASTReplaceRule> collection) booleanaddAllReplaceRules(Collection<? extends ASTReplaceRule> collection) booleanaddAllSplitRules(int index, Collection<? extends ASTSplitRule> collection) booleanaddAllSplitRules(Collection<? extends ASTSplitRule> collection) booleanaddAllSupergrammar(int index, Collection<? extends ASTGrammarReference> collection) booleanaddAllSupergrammar(Collection<? extends ASTGrammarReference> collection) booleanaddAllSymbolRules(int index, Collection<? extends ASTSymbolRule> collection) booleanaddAllSymbolRules(Collection<? extends ASTSymbolRule> collection) voidaddASTRule(int index, ASTASTRule element) booleanaddASTRule(ASTASTRule element) voidaddClassProd(int index, ASTClassProd element) booleanaddClassProd(ASTClassProd element) voidaddConcept(int index, ASTConcept element) booleanaddConcept(ASTConcept element) voidaddEnumProd(int index, ASTEnumProd element) booleanaddEnumProd(ASTEnumProd element) voidaddExternalProd(int index, ASTExternalProd element) booleanaddExternalProd(ASTExternalProd element) voidaddImportStatement(int index, ASTMCImportStatement element) booleanaddImportStatement(ASTMCImportStatement element) voidaddInterfaceProd(int index, ASTInterfaceProd element) booleanaddInterfaceProd(ASTInterfaceProd element) voidaddKeywordRule(int index, ASTKeywordRule element) booleanaddKeywordRule(ASTKeywordRule element) voidaddLexProd(int index, ASTLexProd element) booleanaddLexProd(ASTLexProd element) voidaddPackage(int index, String element) booleanaddPackage(String element) voidaddReplaceRule(int index, ASTReplaceRule element) booleanaddReplaceRule(ASTReplaceRule element) voidaddSplitRule(int index, ASTSplitRule element) booleanaddSplitRule(ASTSplitRule element) voidaddSupergrammar(int index, ASTGrammarReference element) booleanaddSupergrammar(ASTGrammarReference element) voidaddSymbolRule(int index, ASTSymbolRule element) booleanaddSymbolRule(ASTSymbolRule element) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidbooleancontainsAbstractProd(Object element) booleancontainsAllAbstractProds(Collection<?> collection) booleancontainsAllASTRules(Collection<?> collection) booleancontainsAllClassProds(Collection<?> collection) booleancontainsAllConcepts(Collection<?> collection) booleancontainsAllEnumProds(Collection<?> collection) booleancontainsAllExternalProds(Collection<?> collection) booleancontainsAllImportStatement(Collection<?> collection) booleancontainsAllInterfaceProds(Collection<?> collection) booleancontainsAllKeywordRules(Collection<?> collection) booleancontainsAllLexProds(Collection<?> collection) booleancontainsAllPackage(Collection<?> collection) booleancontainsAllReplaceRules(Collection<?> collection) booleancontainsAllSplitRules(Collection<?> collection) booleancontainsAllSupergrammar(Collection<?> collection) booleancontainsAllSymbolRules(Collection<?> collection) booleancontainsASTRule(Object element) booleancontainsClassProd(Object element) booleancontainsConcept(Object element) booleancontainsEnumProd(Object element) booleancontainsExternalProd(Object element) booleancontainsImportStatement(Object element) booleancontainsInterfaceProd(Object element) booleancontainsKeywordRule(Object element) booleancontainsLexProd(Object element) booleancontainsPackage(Object element) booleancontainsReplaceRule(Object element) booleancontainsSplitRule(Object element) booleancontainsSupergrammar(Object element) booleancontainsSymbolRule(Object element) deepClone(ASTMCGrammar result) booleandeepEquals(Object o) booleandeepEquals(Object o, boolean forceSameOrder) booleanbooleandeepEqualsWithComments(Object o, boolean forceSameOrder) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleande.monticore.interpreter.Valueevaluate(IGrammarInterpreter interpreter) de.monticore.interpreter.Valueevaluate(de.monticore.interpreter.ModelInterpreter interpreter) voidforEachAbstractProds(Consumer<? super ASTAbstractProd> action) voidforEachASTRules(Consumer<? super ASTASTRule> action) voidforEachClassProds(Consumer<? super ASTClassProd> action) voidforEachConcepts(Consumer<? super ASTConcept> action) voidforEachEnumProds(Consumer<? super ASTEnumProd> action) voidforEachExternalProds(Consumer<? super ASTExternalProd> action) voidforEachImportStatement(Consumer<? super ASTMCImportStatement> action) voidforEachInterfaceProds(Consumer<? super ASTInterfaceProd> action) voidforEachKeywordRules(Consumer<? super ASTKeywordRule> action) voidforEachLexProds(Consumer<? super ASTLexProd> action) voidforEachPackage(Consumer<? super String> action) voidforEachReplaceRules(Consumer<? super ASTReplaceRule> action) voidforEachSplitRules(Consumer<? super ASTSplitRule> action) voidforEachSupergrammar(Consumer<? super ASTGrammarReference> action) voidforEachSymbolRules(Consumer<? super ASTSymbolRule> action) getAbstractProd(int index) getASTRule(int index) getClassProd(int index) getConcept(int index) getEnumProd(int index) getExternalProd(int index) getImportStatement(int index) getInterfaceProd(int index) getKeywordRule(int index) getLexProd(int index) getName()getPackage(int index) getReplaceRule(int index) getSplitRule(int index) getSupergrammar(int index) getSymbolRule(int index) intintintintintintintintintintintintintintintintindexOfAbstractProd(Object element) intindexOfASTRule(Object element) intindexOfClassProd(Object element) intindexOfConcept(Object element) intindexOfEnumProd(Object element) intindexOfExternalProd(Object element) intindexOfImportStatement(Object element) intindexOfInterfaceProd(Object element) intindexOfKeywordRule(Object element) intindexOfLexProd(Object element) intindexOfPackage(Object element) intindexOfReplaceRule(Object element) intindexOfSplitRule(Object element) intindexOfSupergrammar(Object element) intindexOfSymbolRule(Object element) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanintlastIndexOfAbstractProd(Object element) intlastIndexOfASTRule(Object element) intlastIndexOfClassProd(Object element) intlastIndexOfConcept(Object element) intlastIndexOfEnumProd(Object element) intlastIndexOfExternalProd(Object element) intlastIndexOfImportStatement(Object element) intlastIndexOfInterfaceProd(Object element) intlastIndexOfKeywordRule(Object element) intlastIndexOfLexProd(Object element) intlastIndexOfPackage(Object element) intlastIndexOfReplaceRule(Object element) intlastIndexOfSplitRule(Object element) intlastIndexOfSupergrammar(Object element) intlastIndexOfSymbolRule(Object element) listIteratorAbstractProds(int index) listIteratorASTRules(int index) listIteratorClassProds(int index) listIteratorConcepts(int index) listIteratorEnumProds(int index) listIteratorExternalProds(int index) listIteratorImportStatement(int index) listIteratorInterfaceProds(int index) listIteratorKeywordRules(int index) listIteratorLexProds(int index) listIteratorPackage(int index) listIteratorReplaceRules(int index) listIteratorSplitRules(int index) listIteratorSupergrammar(int index) listIteratorSymbolRules(int index) removeAbstractProd(int index) booleanremoveAbstractProd(Object element) booleanremoveAllAbstractProds(Collection<?> collection) booleanremoveAllASTRules(Collection<?> collection) booleanremoveAllClassProds(Collection<?> collection) booleanremoveAllConcepts(Collection<?> collection) booleanremoveAllEnumProds(Collection<?> collection) booleanremoveAllExternalProds(Collection<?> collection) booleanremoveAllImportStatement(Collection<?> collection) booleanremoveAllInterfaceProds(Collection<?> collection) booleanremoveAllKeywordRules(Collection<?> collection) booleanremoveAllLexProds(Collection<?> collection) booleanremoveAllPackage(Collection<?> collection) booleanremoveAllReplaceRules(Collection<?> collection) booleanremoveAllSplitRules(Collection<?> collection) booleanremoveAllSupergrammar(Collection<?> collection) booleanremoveAllSymbolRules(Collection<?> collection) removeASTRule(int index) booleanremoveASTRule(Object element) removeClassProd(int index) booleanremoveClassProd(Object element) removeConcept(int index) booleanremoveConcept(Object element) removeEnumProd(int index) booleanremoveEnumProd(Object element) removeExternalProd(int index) booleanremoveExternalProd(Object element) booleanremoveIfAbstractProd(Predicate<? super ASTAbstractProd> filter) booleanremoveIfASTRule(Predicate<? super ASTASTRule> filter) booleanremoveIfClassProd(Predicate<? super ASTClassProd> filter) booleanremoveIfConcept(Predicate<? super ASTConcept> filter) booleanremoveIfEnumProd(Predicate<? super ASTEnumProd> filter) booleanremoveIfExternalProd(Predicate<? super ASTExternalProd> filter) booleanremoveIfImportStatement(Predicate<? super ASTMCImportStatement> filter) booleanremoveIfInterfaceProd(Predicate<? super ASTInterfaceProd> filter) booleanremoveIfKeywordRule(Predicate<? super ASTKeywordRule> filter) booleanremoveIfLexProd(Predicate<? super ASTLexProd> filter) booleanremoveIfPackage(Predicate<? super String> filter) booleanremoveIfReplaceRule(Predicate<? super ASTReplaceRule> filter) booleanremoveIfSplitRule(Predicate<? super ASTSplitRule> filter) booleanremoveIfSupergrammar(Predicate<? super ASTGrammarReference> filter) booleanremoveIfSymbolRule(Predicate<? super ASTSymbolRule> filter) removeImportStatement(int index) booleanremoveImportStatement(Object element) removeInterfaceProd(int index) booleanremoveInterfaceProd(Object element) removeKeywordRule(int index) booleanremoveKeywordRule(Object element) removeLexProd(int index) booleanremoveLexProd(Object element) removePackage(int index) booleanremovePackage(Object element) removeReplaceRule(int index) booleanremoveReplaceRule(Object element) removeSplitRule(int index) booleanremoveSplitRule(Object element) removeSupergrammar(int index) booleanremoveSupergrammar(Object element) removeSymbolRule(int index) booleanremoveSymbolRule(Object element) voidreplaceAllAbstractProds(UnaryOperator<ASTAbstractProd> operator) voidreplaceAllASTRules(UnaryOperator<ASTASTRule> operator) voidreplaceAllClassProds(UnaryOperator<ASTClassProd> operator) voidreplaceAllConcepts(UnaryOperator<ASTConcept> operator) voidreplaceAllEnumProds(UnaryOperator<ASTEnumProd> operator) voidreplaceAllExternalProds(UnaryOperator<ASTExternalProd> operator) voidvoidvoidreplaceAllKeywordRules(UnaryOperator<ASTKeywordRule> operator) voidreplaceAllLexProds(UnaryOperator<ASTLexProd> operator) voidreplaceAllPackage(UnaryOperator<String> operator) voidreplaceAllReplaceRules(UnaryOperator<ASTReplaceRule> operator) voidreplaceAllSplitRules(UnaryOperator<ASTSplitRule> operator) voidvoidreplaceAllSymbolRules(UnaryOperator<ASTSymbolRule> operator) booleanretainAllAbstractProds(Collection<?> collection) booleanretainAllASTRules(Collection<?> collection) booleanretainAllClassProds(Collection<?> collection) booleanretainAllConcepts(Collection<?> collection) booleanretainAllEnumProds(Collection<?> collection) booleanretainAllExternalProds(Collection<?> collection) booleanretainAllImportStatement(Collection<?> collection) booleanretainAllInterfaceProds(Collection<?> collection) booleanretainAllKeywordRules(Collection<?> collection) booleanretainAllLexProds(Collection<?> collection) booleanretainAllPackage(Collection<?> collection) booleanretainAllReplaceRules(Collection<?> collection) booleanretainAllSplitRules(Collection<?> collection) booleanretainAllSupergrammar(Collection<?> collection) booleanretainAllSymbolRules(Collection<?> collection) setAbstractProd(int index, ASTAbstractProd element) voidsetAbstractProdList(List<ASTAbstractProd> abstractProds) setASTRule(int index, ASTASTRule element) voidsetASTRuleList(List<ASTASTRule> aSTRules) setClassProd(int index, ASTClassProd element) voidsetClassProdList(List<ASTClassProd> classProds) voidsetComponent(boolean component) setConcept(int index, ASTConcept element) voidsetConceptList(List<ASTConcept> concepts) voidsetEnclosingScope(IGrammarScope enclosingScope) voidsetEnclosingScope(IMCCommonLiteralsScope enclosingScope) voidsetEnclosingScope(IMCLiteralsBasisScope enclosingScope) voidsetEnclosingScope(IMCBasicsScope enclosingScope) voidsetEnclosingScope(IMCBasicTypesScope enclosingScope) voidsetEnclosingScope(IMCCollectionTypesScope enclosingScope) voidsetEnclosingScope(IMCSimpleGenericTypesScope enclosingScope) setEnumProd(int index, ASTEnumProd element) voidsetEnumProdList(List<ASTEnumProd> enumProds) setExternalProd(int index, ASTExternalProd element) voidsetExternalProdList(List<ASTExternalProd> externalProds) voidsetGrammarAnnotation(ASTGrammarAnnotation grammarAnnotation) voidvoidsetGrammarOption(ASTGrammarOption grammarOption) voidsetImportStatement(int index, ASTMCImportStatement element) voidsetImportStatementList(List<ASTMCImportStatement> importStatement) setInterfaceProd(int index, ASTInterfaceProd element) voidsetInterfaceProdList(List<ASTInterfaceProd> interfaceProds) setKeywordRule(int index, ASTKeywordRule element) voidsetKeywordRuleList(List<ASTKeywordRule> keywordRules) setLexProd(int index, ASTLexProd element) voidsetLexProdList(List<ASTLexProd> lexProds) voidsetPackage(int index, String element) voidsetPackageList(List<String> r__package) setReplaceRule(int index, ASTReplaceRule element) voidsetReplaceRuleList(List<ASTReplaceRule> replaceRules) voidsetScopeRule(ASTScopeRule scopeRule) voidvoidsetSpannedScope(IGrammarScope spannedScope) setSplitRule(int index, ASTSplitRule element) voidsetSplitRuleList(List<ASTSplitRule> splitRules) voidsetStartRule(ASTStartRule startRule) voidsetSupergrammar(int index, ASTGrammarReference element) voidsetSupergrammarList(List<ASTGrammarReference> supergrammar) voidsetSymbol(MCGrammarSymbol symbol) voidsetSymbolRule(int index, ASTSymbolRule element) voidsetSymbolRuleList(List<ASTSymbolRule> symbolRules) intintintintintintintintintintintintintintintvoidsortAbstractProds(Comparator<? super ASTAbstractProd> comparator) voidsortASTRules(Comparator<? super ASTASTRule> comparator) voidsortClassProds(Comparator<? super ASTClassProd> comparator) voidsortConcepts(Comparator<? super ASTConcept> comparator) voidsortEnumProds(Comparator<? super ASTEnumProd> comparator) voidsortExternalProds(Comparator<? super ASTExternalProd> comparator) voidsortImportStatement(Comparator<? super ASTMCImportStatement> comparator) voidsortInterfaceProds(Comparator<? super ASTInterfaceProd> comparator) voidsortKeywordRules(Comparator<? super ASTKeywordRule> comparator) voidsortLexProds(Comparator<? super ASTLexProd> comparator) voidsortPackage(Comparator<? super String> comparator) voidsortReplaceRules(Comparator<? super ASTReplaceRule> comparator) voidsortSplitRules(Comparator<? super ASTSplitRule> comparator) voidsortSupergrammar(Comparator<? super ASTGrammarReference> comparator) voidsortSymbolRules(Comparator<? super ASTSymbolRule> comparator) subListAbstractProds(int start, int end) subListASTRules(int start, int end) subListClassProds(int start, int end) subListConcepts(int start, int end) subListEnumProds(int start, int end) subListExternalProds(int start, int end) subListImportStatement(int start, int end) subListInterfaceProds(int start, int end) subListKeywordRules(int start, int end) subListLexProds(int start, int end) subListPackage(int start, int end) subListReplaceRules(int start, int end) subListSplitRules(int start, int end) subListSupergrammar(int start, int end) subListSymbolRules(int start, int end) Object[]toArrayAbstractProds(ASTAbstractProd[] array) Object[]toArrayASTRules(ASTASTRule[] array) Object[]toArrayClassProds(ASTClassProd[] array) Object[]toArrayConcepts(ASTConcept[] array) Object[]toArrayEnumProds(ASTEnumProd[] array) Object[]toArrayExternalProds(ASTExternalProd[] array) Object[]Object[]toArrayInterfaceProds(ASTInterfaceProd[] array) Object[]toArrayKeywordRules(ASTKeywordRule[] array) Object[]toArrayLexProds(ASTLexProd[] array) Object[]String[]toArrayPackage(String[] array) Object[]toArrayReplaceRules(ASTReplaceRule[] array) Object[]toArraySplitRules(ASTSplitRule[] array) Object[]toArraySupergrammar(ASTGrammarReference[] array) Object[]toArraySymbolRules(ASTSymbolRule[] array) 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, toString, 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
-
grammarOption
-
startRule
-
scopeRule
-
r__package
-
importStatement
-
grammarAnnotation
-
name
-
supergrammar
-
lexProds
-
classProds
-
enumProds
-
externalProds
-
interfaceProds
-
abstractProds
-
aSTRules
-
symbolRules
-
concepts
-
splitRules
-
keywordRules
-
replaceRules
-
component
protected boolean component -
symbol
-
spannedScope
-
enclosingScope
-
-
Constructor Details
-
ASTMCGrammar
protected ASTMCGrammar()
-
-
Method Details
-
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
-
getGrammarOption
-
isPresentGrammarOption
public boolean isPresentGrammarOption() -
getStartRule
-
isPresentStartRule
public boolean isPresentStartRule() -
getScopeRule
-
isPresentScopeRule
public boolean isPresentScopeRule() -
containsPackage
-
containsAllPackage
-
isEmptyPackage
public boolean isEmptyPackage() -
iteratorPackage
-
sizePackage
public int sizePackage() -
toArrayPackage
-
toArrayPackage
-
spliteratorPackage
-
streamPackage
-
parallelStreamPackage
-
getPackage
-
indexOfPackage
-
lastIndexOfPackage
-
equalsPackage
-
hashCodePackage
public int hashCodePackage() -
listIteratorPackage
-
listIteratorPackage
-
subListPackage
-
getPackageList
-
containsImportStatement
-
containsAllImportStatement
-
isEmptyImportStatement
public boolean isEmptyImportStatement() -
iteratorImportStatement
-
sizeImportStatement
public int sizeImportStatement() -
toArrayImportStatement
-
toArrayImportStatement
-
spliteratorImportStatement
-
streamImportStatement
-
parallelStreamImportStatement
-
getImportStatement
-
indexOfImportStatement
-
lastIndexOfImportStatement
-
equalsImportStatement
-
hashCodeImportStatement
public int hashCodeImportStatement() -
listIteratorImportStatement
-
listIteratorImportStatement
-
subListImportStatement
-
getImportStatementList
-
getGrammarAnnotation
-
isPresentGrammarAnnotation
public boolean isPresentGrammarAnnotation() -
getName
-
containsSupergrammar
-
containsAllSupergrammar
-
isEmptySupergrammar
public boolean isEmptySupergrammar() -
iteratorSupergrammar
-
sizeSupergrammar
public int sizeSupergrammar() -
toArraySupergrammar
-
toArraySupergrammar
-
spliteratorSupergrammar
-
streamSupergrammar
-
parallelStreamSupergrammar
-
getSupergrammar
-
indexOfSupergrammar
-
lastIndexOfSupergrammar
-
equalsSupergrammar
-
hashCodeSupergrammar
public int hashCodeSupergrammar() -
listIteratorSupergrammar
-
listIteratorSupergrammar
-
subListSupergrammar
-
getSupergrammarList
-
containsLexProd
-
containsAllLexProds
-
isEmptyLexProds
public boolean isEmptyLexProds() -
iteratorLexProds
-
sizeLexProds
public int sizeLexProds() -
toArrayLexProds
-
toArrayLexProds
-
spliteratorLexProds
-
streamLexProds
-
parallelStreamLexProds
-
getLexProd
-
indexOfLexProd
-
lastIndexOfLexProd
-
equalsLexProds
-
hashCodeLexProds
public int hashCodeLexProds() -
listIteratorLexProds
-
listIteratorLexProds
-
subListLexProds
-
getLexProdList
-
containsClassProd
-
containsAllClassProds
-
isEmptyClassProds
public boolean isEmptyClassProds() -
iteratorClassProds
-
sizeClassProds
public int sizeClassProds() -
toArrayClassProds
-
toArrayClassProds
-
spliteratorClassProds
-
streamClassProds
-
parallelStreamClassProds
-
getClassProd
-
indexOfClassProd
-
lastIndexOfClassProd
-
equalsClassProds
-
hashCodeClassProds
public int hashCodeClassProds() -
listIteratorClassProds
-
listIteratorClassProds
-
subListClassProds
-
getClassProdList
-
containsEnumProd
-
containsAllEnumProds
-
isEmptyEnumProds
public boolean isEmptyEnumProds() -
iteratorEnumProds
-
sizeEnumProds
public int sizeEnumProds() -
toArrayEnumProds
-
toArrayEnumProds
-
spliteratorEnumProds
-
streamEnumProds
-
parallelStreamEnumProds
-
getEnumProd
-
indexOfEnumProd
-
lastIndexOfEnumProd
-
equalsEnumProds
-
hashCodeEnumProds
public int hashCodeEnumProds() -
listIteratorEnumProds
-
listIteratorEnumProds
-
subListEnumProds
-
getEnumProdList
-
containsExternalProd
-
containsAllExternalProds
-
isEmptyExternalProds
public boolean isEmptyExternalProds() -
iteratorExternalProds
-
sizeExternalProds
public int sizeExternalProds() -
toArrayExternalProds
-
toArrayExternalProds
-
spliteratorExternalProds
-
streamExternalProds
-
parallelStreamExternalProds
-
getExternalProd
-
indexOfExternalProd
-
lastIndexOfExternalProd
-
equalsExternalProds
-
hashCodeExternalProds
public int hashCodeExternalProds() -
listIteratorExternalProds
-
listIteratorExternalProds
-
subListExternalProds
-
getExternalProdList
-
containsInterfaceProd
-
containsAllInterfaceProds
-
isEmptyInterfaceProds
public boolean isEmptyInterfaceProds() -
iteratorInterfaceProds
-
sizeInterfaceProds
public int sizeInterfaceProds() -
toArrayInterfaceProds
-
toArrayInterfaceProds
-
spliteratorInterfaceProds
-
streamInterfaceProds
-
parallelStreamInterfaceProds
-
getInterfaceProd
-
indexOfInterfaceProd
-
lastIndexOfInterfaceProd
-
equalsInterfaceProds
-
hashCodeInterfaceProds
public int hashCodeInterfaceProds() -
listIteratorInterfaceProds
-
listIteratorInterfaceProds
-
subListInterfaceProds
-
getInterfaceProdList
-
containsAbstractProd
-
containsAllAbstractProds
-
isEmptyAbstractProds
public boolean isEmptyAbstractProds() -
iteratorAbstractProds
-
sizeAbstractProds
public int sizeAbstractProds() -
toArrayAbstractProds
-
toArrayAbstractProds
-
spliteratorAbstractProds
-
streamAbstractProds
-
parallelStreamAbstractProds
-
getAbstractProd
-
indexOfAbstractProd
-
lastIndexOfAbstractProd
-
equalsAbstractProds
-
hashCodeAbstractProds
public int hashCodeAbstractProds() -
listIteratorAbstractProds
-
listIteratorAbstractProds
-
subListAbstractProds
-
getAbstractProdList
-
containsASTRule
-
containsAllASTRules
-
isEmptyASTRules
public boolean isEmptyASTRules() -
iteratorASTRules
-
sizeASTRules
public int sizeASTRules() -
toArrayASTRules
-
toArrayASTRules
-
spliteratorASTRules
-
streamASTRules
-
parallelStreamASTRules
-
getASTRule
-
indexOfASTRule
-
lastIndexOfASTRule
-
equalsASTRules
-
hashCodeASTRules
public int hashCodeASTRules() -
listIteratorASTRules
-
listIteratorASTRules
-
subListASTRules
-
getASTRuleList
-
containsSymbolRule
-
containsAllSymbolRules
-
isEmptySymbolRules
public boolean isEmptySymbolRules() -
iteratorSymbolRules
-
sizeSymbolRules
public int sizeSymbolRules() -
toArraySymbolRules
-
toArraySymbolRules
-
spliteratorSymbolRules
-
streamSymbolRules
-
parallelStreamSymbolRules
-
getSymbolRule
-
indexOfSymbolRule
-
lastIndexOfSymbolRule
-
equalsSymbolRules
-
hashCodeSymbolRules
public int hashCodeSymbolRules() -
listIteratorSymbolRules
-
listIteratorSymbolRules
-
subListSymbolRules
-
getSymbolRuleList
-
containsConcept
-
containsAllConcepts
-
isEmptyConcepts
public boolean isEmptyConcepts() -
iteratorConcepts
-
sizeConcepts
public int sizeConcepts() -
toArrayConcepts
-
toArrayConcepts
-
spliteratorConcepts
-
streamConcepts
-
parallelStreamConcepts
-
getConcept
-
indexOfConcept
-
lastIndexOfConcept
-
equalsConcepts
-
hashCodeConcepts
public int hashCodeConcepts() -
listIteratorConcepts
-
listIteratorConcepts
-
subListConcepts
-
getConceptList
-
containsSplitRule
-
containsAllSplitRules
-
isEmptySplitRules
public boolean isEmptySplitRules() -
iteratorSplitRules
-
sizeSplitRules
public int sizeSplitRules() -
toArraySplitRules
-
toArraySplitRules
-
spliteratorSplitRules
-
streamSplitRules
-
parallelStreamSplitRules
-
getSplitRule
-
indexOfSplitRule
-
lastIndexOfSplitRule
-
equalsSplitRules
-
hashCodeSplitRules
public int hashCodeSplitRules() -
listIteratorSplitRules
-
listIteratorSplitRules
-
subListSplitRules
-
getSplitRuleList
-
containsKeywordRule
-
containsAllKeywordRules
-
isEmptyKeywordRules
public boolean isEmptyKeywordRules() -
iteratorKeywordRules
-
sizeKeywordRules
public int sizeKeywordRules() -
toArrayKeywordRules
-
toArrayKeywordRules
-
spliteratorKeywordRules
-
streamKeywordRules
-
parallelStreamKeywordRules
-
getKeywordRule
-
indexOfKeywordRule
-
lastIndexOfKeywordRule
-
equalsKeywordRules
-
hashCodeKeywordRules
public int hashCodeKeywordRules() -
listIteratorKeywordRules
-
listIteratorKeywordRules
-
subListKeywordRules
-
getKeywordRuleList
-
containsReplaceRule
-
containsAllReplaceRules
-
isEmptyReplaceRules
public boolean isEmptyReplaceRules() -
iteratorReplaceRules
-
sizeReplaceRules
public int sizeReplaceRules() -
toArrayReplaceRules
-
toArrayReplaceRules
-
spliteratorReplaceRules
-
streamReplaceRules
-
parallelStreamReplaceRules
-
getReplaceRule
-
indexOfReplaceRule
-
lastIndexOfReplaceRule
-
equalsReplaceRules
-
hashCodeReplaceRules
public int hashCodeReplaceRules() -
listIteratorReplaceRules
-
listIteratorReplaceRules
-
subListReplaceRules
-
getReplaceRuleList
-
isComponent
public boolean isComponent() -
setGrammarOption
-
setGrammarOptionAbsent
public void setGrammarOptionAbsent() -
setStartRule
-
setStartRuleAbsent
public void setStartRuleAbsent() -
setScopeRule
-
setScopeRuleAbsent
public void setScopeRuleAbsent() -
clearPackage
public void clearPackage() -
addPackage
-
addAllPackage
-
removePackage
-
removeAllPackage
-
retainAllPackage
-
removeIfPackage
-
forEachPackage
-
addPackage
-
addAllPackage
-
removePackage
-
setPackage
-
replaceAllPackage
-
sortPackage
-
setPackageList
-
clearImportStatement
public void clearImportStatement() -
addImportStatement
-
addAllImportStatement
-
removeImportStatement
-
removeAllImportStatement
-
retainAllImportStatement
-
removeIfImportStatement
-
forEachImportStatement
-
addImportStatement
-
addAllImportStatement
public boolean addAllImportStatement(int index, Collection<? extends ASTMCImportStatement> collection) -
removeImportStatement
-
setImportStatement
-
replaceAllImportStatement
-
sortImportStatement
-
setImportStatementList
-
setGrammarAnnotation
-
setGrammarAnnotationAbsent
public void setGrammarAnnotationAbsent() -
setName
-
clearSupergrammar
public void clearSupergrammar() -
addSupergrammar
-
addAllSupergrammar
-
removeSupergrammar
-
removeAllSupergrammar
-
retainAllSupergrammar
-
removeIfSupergrammar
-
forEachSupergrammar
-
addSupergrammar
-
addAllSupergrammar
-
removeSupergrammar
-
setSupergrammar
-
replaceAllSupergrammar
-
sortSupergrammar
-
setSupergrammarList
-
clearLexProds
public void clearLexProds() -
addLexProd
-
addAllLexProds
-
removeLexProd
-
removeAllLexProds
-
retainAllLexProds
-
removeIfLexProd
-
forEachLexProds
-
addLexProd
-
addAllLexProds
-
removeLexProd
-
setLexProd
-
replaceAllLexProds
-
sortLexProds
-
setLexProdList
-
clearClassProds
public void clearClassProds() -
addClassProd
-
addAllClassProds
-
removeClassProd
-
removeAllClassProds
-
retainAllClassProds
-
removeIfClassProd
-
forEachClassProds
-
addClassProd
-
addAllClassProds
-
removeClassProd
-
setClassProd
-
replaceAllClassProds
-
sortClassProds
-
setClassProdList
-
clearEnumProds
public void clearEnumProds() -
addEnumProd
-
addAllEnumProds
-
removeEnumProd
-
removeAllEnumProds
-
retainAllEnumProds
-
removeIfEnumProd
-
forEachEnumProds
-
addEnumProd
-
addAllEnumProds
-
removeEnumProd
-
setEnumProd
-
replaceAllEnumProds
-
sortEnumProds
-
setEnumProdList
-
clearExternalProds
public void clearExternalProds() -
addExternalProd
-
addAllExternalProds
-
removeExternalProd
-
removeAllExternalProds
-
retainAllExternalProds
-
removeIfExternalProd
-
forEachExternalProds
-
addExternalProd
-
addAllExternalProds
-
removeExternalProd
-
setExternalProd
-
replaceAllExternalProds
-
sortExternalProds
-
setExternalProdList
-
clearInterfaceProds
public void clearInterfaceProds() -
addInterfaceProd
-
addAllInterfaceProds
-
removeInterfaceProd
-
removeAllInterfaceProds
-
retainAllInterfaceProds
-
removeIfInterfaceProd
-
forEachInterfaceProds
-
addInterfaceProd
-
addAllInterfaceProds
-
removeInterfaceProd
-
setInterfaceProd
-
replaceAllInterfaceProds
-
sortInterfaceProds
-
setInterfaceProdList
-
clearAbstractProds
public void clearAbstractProds() -
addAbstractProd
-
addAllAbstractProds
-
removeAbstractProd
-
removeAllAbstractProds
-
retainAllAbstractProds
-
removeIfAbstractProd
-
forEachAbstractProds
-
addAbstractProd
-
addAllAbstractProds
-
removeAbstractProd
-
setAbstractProd
-
replaceAllAbstractProds
-
sortAbstractProds
-
setAbstractProdList
-
clearASTRules
public void clearASTRules() -
addASTRule
-
addAllASTRules
-
removeASTRule
-
removeAllASTRules
-
retainAllASTRules
-
removeIfASTRule
-
forEachASTRules
-
addASTRule
-
addAllASTRules
-
removeASTRule
-
setASTRule
-
replaceAllASTRules
-
sortASTRules
-
setASTRuleList
-
clearSymbolRules
public void clearSymbolRules() -
addSymbolRule
-
addAllSymbolRules
-
removeSymbolRule
-
removeAllSymbolRules
-
retainAllSymbolRules
-
removeIfSymbolRule
-
forEachSymbolRules
-
addSymbolRule
-
addAllSymbolRules
-
removeSymbolRule
-
setSymbolRule
-
replaceAllSymbolRules
-
sortSymbolRules
-
setSymbolRuleList
-
clearConcepts
public void clearConcepts() -
addConcept
-
addAllConcepts
-
removeConcept
-
removeAllConcepts
-
retainAllConcepts
-
removeIfConcept
-
forEachConcepts
-
addConcept
-
addAllConcepts
-
removeConcept
-
setConcept
-
replaceAllConcepts
-
sortConcepts
-
setConceptList
-
clearSplitRules
public void clearSplitRules() -
addSplitRule
-
addAllSplitRules
-
removeSplitRule
-
removeAllSplitRules
-
retainAllSplitRules
-
removeIfSplitRule
-
forEachSplitRules
-
addSplitRule
-
addAllSplitRules
-
removeSplitRule
-
setSplitRule
-
replaceAllSplitRules
-
sortSplitRules
-
setSplitRuleList
-
clearKeywordRules
public void clearKeywordRules() -
addKeywordRule
-
addAllKeywordRules
-
removeKeywordRule
-
removeAllKeywordRules
-
retainAllKeywordRules
-
removeIfKeywordRule
-
forEachKeywordRules
-
addKeywordRule
-
addAllKeywordRules
-
removeKeywordRule
-
setKeywordRule
-
replaceAllKeywordRules
-
sortKeywordRules
-
setKeywordRuleList
-
clearReplaceRules
public void clearReplaceRules() -
addReplaceRule
-
addAllReplaceRules
-
removeReplaceRule
-
removeAllReplaceRules
-
retainAllReplaceRules
-
removeIfReplaceRule
-
forEachReplaceRules
-
addReplaceRule
-
addAllReplaceRules
-
removeReplaceRule
-
setReplaceRule
-
replaceAllReplaceRules
-
sortReplaceRules
-
setReplaceRuleList
-
setComponent
public void setComponent(boolean component) -
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTGrammarNode- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- 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
-
getSymbol
-
isPresentSymbol
public boolean isPresentSymbol() -
setSymbol
-
setSymbolAbsent
public void setSymbolAbsent() -
getSpannedScope
-
setSpannedScope
-
getEnclosingScope
- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
evaluate
-
evaluate
public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter) - Specified by:
evaluatein interfacede.monticore.ast.ASTNode
-