Class ASTMCBasicGenericTypeTOP
java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.types.mcsimplegenerictypes._ast.ASTMCBasicGenericTypeTOP
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTMCBasicTypesNode,ASTMCObjectType,ASTMCType,ASTMCTypeTOP,ASTMCCollectionTypesNode,ASTMCGenericType,ASTMCGenericTypeTOP,ASTMCSimpleGenericTypesNode,Cloneable
- Direct Known Subclasses:
ASTMCBasicGenericType
public abstract class ASTMCBasicGenericTypeTOP
extends de.monticore.ast.ASTCNode
implements ASTMCGenericType, ASTMCSimpleGenericTypesNode
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IMCSimpleGenericTypesScopeprotected List<ASTMCTypeArgument> Fields inherited from class de.monticore.ast.ASTCNode
end, postcomments, precomments, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ASTMCBasicGenericTypevoidaccept(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.booleanaddAllMCTypeArguments(int index, Collection<? extends ASTMCTypeArgument> collection) booleanaddAllMCTypeArguments(Collection<? extends ASTMCTypeArgument> collection) booleanaddAllNames(int index, Collection<? extends String> collection) booleanaddAllNames(Collection<? extends String> collection) voidaddMCTypeArgument(int index, ASTMCTypeArgument element) booleanaddMCTypeArgument(ASTMCTypeArgument element) voidbooleanvoidvoidbooleancontainsAllMCTypeArguments(Collection<?> collection) booleancontainsAllNames(Collection<?> collection) booleancontainsMCTypeArgument(Object element) booleancontainsName(Object element) deepClone(ASTMCBasicGenericType 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(IMCSimpleGenericTypesInterpreter interpreter) voidforEachMCTypeArguments(Consumer<? super ASTMCTypeArgument> action) voidforEachNames(Consumer<? super String> action) getMCTypeArgument(int index) getName(int index) intintintindexOfMCTypeArgument(Object element) intindexOfName(Object element) booleanbooleanintlastIndexOfMCTypeArgument(Object element) intlastIndexOfName(Object element) listIteratorMCTypeArguments(int index) listIteratorNames(int index) booleanremoveAllMCTypeArguments(Collection<?> collection) booleanremoveAllNames(Collection<?> collection) booleanremoveIfMCTypeArgument(Predicate<? super ASTMCTypeArgument> filter) booleanremoveIfName(Predicate<? super String> filter) removeMCTypeArgument(int index) booleanremoveMCTypeArgument(Object element) removeName(int index) booleanremoveName(Object element) voidvoidreplaceAllNames(UnaryOperator<String> operator) booleanretainAllMCTypeArguments(Collection<?> collection) booleanretainAllNames(Collection<?> collection) voidsetEnclosingScope(IMCBasicsScope enclosingScope) voidsetEnclosingScope(IMCBasicTypesScope enclosingScope) voidsetEnclosingScope(IMCCollectionTypesScope enclosingScope) voidsetEnclosingScope(IMCSimpleGenericTypesScope enclosingScope) setMCTypeArgument(int index, ASTMCTypeArgument element) voidsetMCTypeArgumentList(List<ASTMCTypeArgument> mCTypeArguments) voidsetNameList(List<String> names) intintvoidsortMCTypeArguments(Comparator<? super ASTMCTypeArgument> comparator) voidsortNames(Comparator<? super String> comparator) subListMCTypeArguments(int start, int end) subListNames(int start, int end) Object[]toArrayMCTypeArguments(ASTMCTypeArgument[] array) Object[]String[]toArrayNames(String[] 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.types.mccollectiontypes._ast.ASTMCGenericType
printWithoutTypeArgumentsMethods inherited from interface de.monticore.types.mcbasictypes._ast.ASTMCType
getDefiningSymbol, printType, setDefiningSymbolMethods 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
-
names
-
mCTypeArguments
-
enclosingScope
-
-
Constructor Details
-
ASTMCBasicGenericTypeTOP
protected ASTMCBasicGenericTypeTOP()
-
-
Method Details
-
deepEquals
- Specified by:
deepEqualsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsin interfaceASTMCObjectType- Specified by:
deepEqualsin interfaceASTMCTypeTOP- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEquals
- Specified by:
deepEqualsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsin interfaceASTMCObjectType- Specified by:
deepEqualsin interfaceASTMCTypeTOP- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
- Specified by:
deepEqualsWithCommentsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsWithCommentsin interfaceASTMCObjectType- Specified by:
deepEqualsWithCommentsin interfaceASTMCTypeTOP- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
- Specified by:
deepEqualsWithCommentsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsWithCommentsin interfaceASTMCObjectType- Specified by:
deepEqualsWithCommentsin interfaceASTMCTypeTOP- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
equalAttributes
- Specified by:
equalAttributesin interfaceASTMCGenericTypeTOP- Specified by:
equalAttributesin interfaceASTMCObjectType- Specified by:
equalAttributesin interfaceASTMCTypeTOP- Specified by:
equalAttributesin interfacede.monticore.ast.ASTNode
-
equalsWithComments
- Specified by:
equalsWithCommentsin interfaceASTMCGenericTypeTOP- Specified by:
equalsWithCommentsin interfaceASTMCObjectType- Specified by:
equalsWithCommentsin interfaceASTMCTypeTOP- Specified by:
equalsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepClone
- Specified by:
deepClonein interfaceASTMCGenericTypeTOP- Specified by:
deepClonein interfaceASTMCObjectType- Specified by:
deepClonein interfaceASTMCTypeTOP- Specified by:
deepClonein interfacede.monticore.ast.ASTNode- Specified by:
deepClonein classde.monticore.ast.ASTCNode
-
deepClone
-
containsName
- Specified by:
containsNamein interfaceASTMCGenericType
-
containsAllNames
- Specified by:
containsAllNamesin interfaceASTMCGenericType
-
isEmptyNames
public boolean isEmptyNames()- Specified by:
isEmptyNamesin interfaceASTMCGenericType
-
iteratorNames
- Specified by:
iteratorNamesin interfaceASTMCGenericType
-
sizeNames
public int sizeNames()- Specified by:
sizeNamesin interfaceASTMCGenericType
-
toArrayNames
- Specified by:
toArrayNamesin interfaceASTMCGenericType
-
toArrayNames
- Specified by:
toArrayNamesin interfaceASTMCGenericType
-
spliteratorNames
- Specified by:
spliteratorNamesin interfaceASTMCGenericType
-
streamNames
- Specified by:
streamNamesin interfaceASTMCGenericType
-
parallelStreamNames
- Specified by:
parallelStreamNamesin interfaceASTMCGenericType
-
getName
- Specified by:
getNamein interfaceASTMCGenericType
-
indexOfName
- Specified by:
indexOfNamein interfaceASTMCGenericType
-
lastIndexOfName
- Specified by:
lastIndexOfNamein interfaceASTMCGenericType
-
equalsNames
-
hashCodeNames
public int hashCodeNames()- Specified by:
hashCodeNamesin interfaceASTMCGenericType
-
listIteratorNames
- Specified by:
listIteratorNamesin interfaceASTMCGenericType
-
listIteratorNames
- Specified by:
listIteratorNamesin interfaceASTMCGenericType
-
subListNames
- Specified by:
subListNamesin interfaceASTMCGenericType
-
getNameList
- Specified by:
getNameListin interfaceASTMCGenericType
-
containsMCTypeArgument
- Specified by:
containsMCTypeArgumentin interfaceASTMCGenericType
-
containsAllMCTypeArguments
- Specified by:
containsAllMCTypeArgumentsin interfaceASTMCGenericType
-
isEmptyMCTypeArguments
public boolean isEmptyMCTypeArguments()- Specified by:
isEmptyMCTypeArgumentsin interfaceASTMCGenericType
-
iteratorMCTypeArguments
- Specified by:
iteratorMCTypeArgumentsin interfaceASTMCGenericType
-
sizeMCTypeArguments
public int sizeMCTypeArguments()- Specified by:
sizeMCTypeArgumentsin interfaceASTMCGenericType
-
toArrayMCTypeArguments
- Specified by:
toArrayMCTypeArgumentsin interfaceASTMCGenericType
-
toArrayMCTypeArguments
- Specified by:
toArrayMCTypeArgumentsin interfaceASTMCGenericType
-
spliteratorMCTypeArguments
- Specified by:
spliteratorMCTypeArgumentsin interfaceASTMCGenericType
-
streamMCTypeArguments
- Specified by:
streamMCTypeArgumentsin interfaceASTMCGenericType
-
parallelStreamMCTypeArguments
- Specified by:
parallelStreamMCTypeArgumentsin interfaceASTMCGenericType
-
getMCTypeArgument
- Specified by:
getMCTypeArgumentin interfaceASTMCGenericType
-
indexOfMCTypeArgument
- Specified by:
indexOfMCTypeArgumentin interfaceASTMCGenericType
-
lastIndexOfMCTypeArgument
- Specified by:
lastIndexOfMCTypeArgumentin interfaceASTMCGenericType
-
equalsMCTypeArguments
-
hashCodeMCTypeArguments
public int hashCodeMCTypeArguments()- Specified by:
hashCodeMCTypeArgumentsin interfaceASTMCGenericType
-
listIteratorMCTypeArguments
- Specified by:
listIteratorMCTypeArgumentsin interfaceASTMCGenericType
-
listIteratorMCTypeArguments
- Specified by:
listIteratorMCTypeArgumentsin interfaceASTMCGenericType
-
subListMCTypeArguments
- Specified by:
subListMCTypeArgumentsin interfaceASTMCGenericType
-
getMCTypeArgumentList
- Specified by:
getMCTypeArgumentListin interfaceASTMCGenericType
-
clearNames
public void clearNames() -
addName
-
addAllNames
-
removeName
-
removeAllNames
-
retainAllNames
-
removeIfName
-
forEachNames
-
addName
-
addAllNames
-
removeName
-
setName
-
replaceAllNames
-
sortNames
-
setNameList
-
clearMCTypeArguments
public void clearMCTypeArguments() -
addMCTypeArgument
-
addAllMCTypeArguments
-
removeMCTypeArgument
-
removeAllMCTypeArguments
-
retainAllMCTypeArguments
-
removeIfMCTypeArgument
-
forEachMCTypeArguments
-
addMCTypeArgument
-
addAllMCTypeArguments
-
removeMCTypeArgument
-
setMCTypeArgument
-
replaceAllMCTypeArguments
-
sortMCTypeArguments
-
setMCTypeArgumentList
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTMCSimpleGenericTypesNode- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTMCCollectionTypesNode- Parameters:
visitor- the visitor to dispatch to
-
accept
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTMCBasicTypesNode- 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
-
getEnclosingScope
- Specified by:
getEnclosingScopein interfaceASTMCGenericTypeTOP- Specified by:
getEnclosingScopein interfaceASTMCObjectType- Specified by:
getEnclosingScopein interfaceASTMCTypeTOP- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode
-
setEnclosingScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceASTMCGenericTypeTOP
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceASTMCGenericTypeTOP- Specified by:
setEnclosingScopein interfaceASTMCObjectType- Specified by:
setEnclosingScopein interfaceASTMCTypeTOP
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceASTMCGenericTypeTOP- Specified by:
setEnclosingScopein interfaceASTMCObjectType- Specified by:
setEnclosingScopein interfaceASTMCTypeTOP
-
evaluate
-
evaluate
public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter) - Specified by:
evaluatein interfacede.monticore.ast.ASTNode
-