Package de.monticore.tf.odrules._ast
Class ASTODDefinition
java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.tf.odrules._ast.ASTODDefinition
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTODRulesNode,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IODRulesScopeprotected Stringprotected List<ASTODObject> protected IODRulesScopeprotected Optional<ODDefinitionSymbol> Fields inherited from class de.monticore.ast.ASTCNode
end, postcomments, precomments, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ASTODDefinitionvoidaccept(AssignmentExpressionsTraverser visitor) Entry point for the Visitor pattern.voidaccept(CommonExpressionsTraverser visitor) Entry point for the Visitor pattern.voidaccept(ExpressionsBasisTraverser visitor) Entry point for the Visitor pattern.voidaccept(JavaClassExpressionsTraverser visitor) Entry point for the Visitor pattern.voidaccept(UglyExpressionsTraverser visitor) Entry point for the Visitor pattern.voidaccept(JavaLightTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCCommonLiteralsTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCJavaLiteralsTraverser 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(MCArrayStatementsTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCCommonStatementsTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCReturnStatementsTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCStatementsBasisTraverser visitor) Entry point for the Visitor pattern.voidEntry point for the Visitor pattern.voidaccept(BasicSymbolsTraverser visitor) Entry point for the Visitor pattern.voidaccept(OOSymbolsTraverser visitor) Entry point for the Visitor pattern.voidaccept(ODRulesTraverser visitor) Entry point for the Visitor pattern.voidaccept(TFBasisExtsTraverser 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(MCFullGenericTypesTraverser visitor) Entry point for the Visitor pattern.voidaccept(MCSimpleGenericTypesTraverser visitor) Entry point for the Visitor pattern.voidaccept(TypeParametersTraverser visitor) Entry point for the Visitor pattern.voidaccept(UMLStereotypeTraverser visitor) Entry point for the Visitor pattern.voidaccept(de.monticore.visitor.ITraverser visitor) Entry point for the Visitor pattern.booleanaddAllODLink(int index, Collection<? extends ASTODLink> collection) booleanaddAllODLink(Collection<? extends ASTODLink> collection) booleanaddAllODObject(int index, Collection<? extends ASTODObject> collection) booleanaddAllODObject(Collection<? extends ASTODObject> collection) voidbooleanvoidaddODObject(int index, ASTODObject element) booleanaddODObject(ASTODObject element) voidvoidbooleancontainsAllODLink(Collection<?> collection) booleancontainsAllODObject(Collection<?> collection) booleancontainsODLink(Object element) booleancontainsODObject(Object element) deepClone(ASTODDefinition result) booleandeepEquals(Object o) booleandeepEquals(Object o, boolean forceSameOrder) booleanbooleandeepEqualsWithComments(Object o, boolean forceSameOrder) booleanbooleanbooleanbooleande.monticore.interpreter.Valueevaluate(de.monticore.interpreter.ModelInterpreter interpreter) de.monticore.interpreter.Valueevaluate(IODRulesInterpreter interpreter) voidforEachODLink(Consumer<? super ASTODLink> action) voidforEachODObject(Consumer<? super ASTODObject> action) getName()getODLink(int index) getODObject(int index) intintintindexOfODLink(Object element) intindexOfODObject(Object element) booleanbooleanbooleanintlastIndexOfODLink(Object element) intlastIndexOfODObject(Object element) listIteratorODLink(int index) listIteratorODObject(int index) booleanremoveAllODLink(Collection<?> collection) booleanremoveAllODObject(Collection<?> collection) booleanremoveIfODLink(Predicate<? super ASTODLink> filter) booleanremoveIfODObject(Predicate<? super ASTODObject> filter) removeODLink(int index) booleanremoveODLink(Object element) removeODObject(int index) booleanremoveODObject(Object element) voidreplaceAllODLink(UnaryOperator<ASTODLink> operator) voidreplaceAllODObject(UnaryOperator<ASTODObject> operator) booleanretainAllODLink(Collection<?> collection) booleanretainAllODObject(Collection<?> collection) voidsetEnclosingScope(IAssignmentExpressionsScope enclosingScope) voidsetEnclosingScope(ICommonExpressionsScope enclosingScope) voidsetEnclosingScope(IExpressionsBasisScope enclosingScope) voidsetEnclosingScope(IJavaClassExpressionsScope enclosingScope) voidsetEnclosingScope(IUglyExpressionsScope enclosingScope) voidsetEnclosingScope(IJavaLightScope enclosingScope) voidsetEnclosingScope(IMCCommonLiteralsScope enclosingScope) voidsetEnclosingScope(IMCJavaLiteralsScope enclosingScope) voidsetEnclosingScope(IMCLiteralsBasisScope enclosingScope) voidsetEnclosingScope(IMCBasicsScope enclosingScope) voidsetEnclosingScope(IMCArrayStatementsScope enclosingScope) voidsetEnclosingScope(IMCCommonStatementsScope enclosingScope) voidsetEnclosingScope(IMCReturnStatementsScope enclosingScope) voidsetEnclosingScope(IMCStatementsBasisScope enclosingScope) voidsetEnclosingScope(IMCVarDeclarationStatementsScope enclosingScope) voidsetEnclosingScope(IBasicSymbolsScope enclosingScope) voidsetEnclosingScope(IOOSymbolsScope enclosingScope) voidsetEnclosingScope(IODRulesScope enclosingScope) voidsetEnclosingScope(ITFBasisExtsScope enclosingScope) voidsetEnclosingScope(IMCBasicTypesScope enclosingScope) voidsetEnclosingScope(IMCCollectionTypesScope enclosingScope) voidsetEnclosingScope(IMCFullGenericTypesScope enclosingScope) voidsetEnclosingScope(IMCSimpleGenericTypesScope enclosingScope) voidsetEnclosingScope(ITypeParametersScope enclosingScope) voidsetEnclosingScope(IUMLStereotypeScope enclosingScope) voidvoidsetODLinkList(List<ASTODLink> oDLink) setODObject(int index, ASTODObject element) voidsetODObjectList(List<ASTODObject> oDObject) voidsetSpannedScope(IODRulesScope spannedScope) voidsetSymbol(ODDefinitionSymbol symbol) voidintintvoidsortODLink(Comparator<? super ASTODLink> comparator) voidsortODObject(Comparator<? super ASTODObject> comparator) subListODLink(int start, int end) subListODObject(int start, int end) Object[]toArrayODLink(ASTODLink[] array) Object[]toArrayODObject(ASTODObject[] 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
-
name
-
oDObject
-
oDLink
-
symbol
-
spannedScope
-
enclosingScope
-
-
Constructor Details
-
ASTODDefinition
protected ASTODDefinition()
-
-
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
-
getName
-
containsODObject
-
containsAllODObject
-
isEmptyODObject
public boolean isEmptyODObject() -
iteratorODObject
-
sizeODObject
public int sizeODObject() -
toArrayODObject
-
toArrayODObject
-
spliteratorODObject
-
streamODObject
-
parallelStreamODObject
-
getODObject
-
indexOfODObject
-
lastIndexOfODObject
-
equalsODObject
-
hashCodeODObject
public int hashCodeODObject() -
listIteratorODObject
-
listIteratorODObject
-
subListODObject
-
getODObjectList
-
containsODLink
-
containsAllODLink
-
isEmptyODLink
public boolean isEmptyODLink() -
iteratorODLink
-
sizeODLink
public int sizeODLink() -
toArrayODLink
-
toArrayODLink
-
spliteratorODLink
-
streamODLink
-
parallelStreamODLink
-
getODLink
-
indexOfODLink
-
lastIndexOfODLink
-
equalsODLink
-
hashCodeODLink
public int hashCodeODLink() -
listIteratorODLink
-
listIteratorODLink
-
subListODLink
-
getODLinkList
-
setName
-
clearODObject
public void clearODObject() -
addODObject
-
addAllODObject
-
removeODObject
-
removeAllODObject
-
retainAllODObject
-
removeIfODObject
-
forEachODObject
-
addODObject
-
addAllODObject
-
removeODObject
-
setODObject
-
replaceAllODObject
-
sortODObject
-
setODObjectList
-
clearODLink
public void clearODLink() -
addODLink
-
addAllODLink
-
removeODLink
-
removeAllODLink
-
retainAllODLink
-
removeIfODLink
-
forEachODLink
-
addODLink
-
addAllODLink
-
removeODLink
-
setODLink
-
replaceAllODLink
-
sortODLink
-
setODLinkList
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTODRulesNode- 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
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
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
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
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
setEnclosingScope
-
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
-