Class ASTMCMultipleGenericTypeTOP
- java.lang.Object
-
- de.monticore.ast.ASTCNode
-
- de.monticore.types.mcfullgenerictypes._ast.ASTMCMultipleGenericTypeTOP
-
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTMCBasicTypesNode,ASTMCObjectType,ASTMCType,ASTMCTypeTOP,ASTMCCollectionTypesNode,ASTMCGenericType,ASTMCGenericTypeTOP,ASTMCFullGenericTypesNode,java.lang.Cloneable
- Direct Known Subclasses:
ASTMCMultipleGenericType
public abstract class ASTMCMultipleGenericTypeTOP extends de.monticore.ast.ASTCNode implements ASTMCGenericType, ASTMCType, ASTMCFullGenericTypesNode
-
-
Field Summary
Fields Modifier and Type Field Description protected IMCFullGenericTypesScopeenclosingScopeprotected ASTMCBasicGenericTypemCBasicGenericTypeprotected java.util.List<ASTMCInnerType>mCInnerTypes
-
Constructor Summary
Constructors Modifier Constructor Description protectedASTMCMultipleGenericTypeTOP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ASTMCMultipleGenericType_construct()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(MCFullGenericTypesTraverser 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.booleanaddAllMCInnerTypes(int index, java.util.Collection<? extends ASTMCInnerType> collection)booleanaddAllMCInnerTypes(java.util.Collection<? extends ASTMCInnerType> collection)voidaddMCInnerType(int index, ASTMCInnerType element)booleanaddMCInnerType(ASTMCInnerType element)voidclearMCInnerTypes()booleancontainsAllMCInnerTypes(java.util.Collection<?> collection)booleancontainsMCInnerType(java.lang.Object element)ASTMCMultipleGenericTypedeepClone()ASTMCMultipleGenericTypedeepClone(ASTMCMultipleGenericType result)booleandeepEquals(java.lang.Object o)booleandeepEquals(java.lang.Object o, boolean forceSameOrder)booleandeepEqualsWithComments(java.lang.Object o)booleandeepEqualsWithComments(java.lang.Object o, boolean forceSameOrder)booleanequalAttributes(java.lang.Object o)booleanequalsMCInnerTypes(java.lang.Object o)booleanequalsWithComments(java.lang.Object o)de.monticore.interpreter.Valueevaluate(de.monticore.interpreter.ModelInterpreter interpreter)de.monticore.interpreter.Valueevaluate(IMCFullGenericTypesInterpreter interpreter)voidforEachMCInnerTypes(java.util.function.Consumer<? super ASTMCInnerType> action)IMCFullGenericTypesScopegetEnclosingScope()ASTMCBasicGenericTypegetMCBasicGenericType()ASTMCInnerTypegetMCInnerType(int index)java.util.List<ASTMCInnerType>getMCInnerTypeList()inthashCodeMCInnerTypes()intindexOfMCInnerType(java.lang.Object element)booleanisEmptyMCInnerTypes()java.util.Iterator<ASTMCInnerType>iteratorMCInnerTypes()intlastIndexOfMCInnerType(java.lang.Object element)java.util.ListIterator<ASTMCInnerType>listIteratorMCInnerTypes()java.util.ListIterator<ASTMCInnerType>listIteratorMCInnerTypes(int index)java.util.stream.Stream<ASTMCInnerType>parallelStreamMCInnerTypes()booleanremoveAllMCInnerTypes(java.util.Collection<?> collection)booleanremoveIfMCInnerType(java.util.function.Predicate<? super ASTMCInnerType> filter)ASTMCInnerTyperemoveMCInnerType(int index)booleanremoveMCInnerType(java.lang.Object element)voidreplaceAllMCInnerTypes(java.util.function.UnaryOperator<ASTMCInnerType> operator)booleanretainAllMCInnerTypes(java.util.Collection<?> collection)voidsetEnclosingScope(IMCBasicsScope enclosingScope)voidsetEnclosingScope(IMCBasicTypesScope enclosingScope)voidsetEnclosingScope(IMCCollectionTypesScope enclosingScope)voidsetEnclosingScope(IMCFullGenericTypesScope enclosingScope)voidsetEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)voidsetMCBasicGenericType(ASTMCBasicGenericType mCBasicGenericType)ASTMCInnerTypesetMCInnerType(int index, ASTMCInnerType element)voidsetMCInnerTypeList(java.util.List<ASTMCInnerType> mCInnerTypes)intsizeMCInnerTypes()voidsortMCInnerTypes(java.util.Comparator<? super ASTMCInnerType> comparator)java.util.Spliterator<ASTMCInnerType>spliteratorMCInnerTypes()java.util.stream.Stream<ASTMCInnerType>streamMCInnerTypes()java.util.List<ASTMCInnerType>subListMCInnerTypes(int start, int end)java.lang.Object[]toArrayMCInnerTypes()ASTMCInnerType[]toArrayMCInnerTypes(ASTMCInnerType[] 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_PreComments
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.types.mccollectiontypes._ast.ASTMCGenericType
containsAllMCTypeArguments, containsAllNames, containsMCTypeArgument, containsName, getMCTypeArgument, getMCTypeArgumentList, getName, getNameList, hashCodeMCTypeArguments, hashCodeNames, indexOfMCTypeArgument, indexOfName, isEmptyMCTypeArguments, isEmptyNames, iteratorMCTypeArguments, iteratorNames, lastIndexOfMCTypeArgument, lastIndexOfName, listIteratorMCTypeArguments, listIteratorMCTypeArguments, listIteratorNames, listIteratorNames, parallelStreamMCTypeArguments, parallelStreamNames, printWithoutTypeArguments, sizeMCTypeArguments, sizeNames, spliteratorMCTypeArguments, spliteratorNames, streamMCTypeArguments, streamNames, subListMCTypeArguments, subListNames, toArrayMCTypeArguments, toArrayMCTypeArguments, toArrayNames, toArrayNames
-
Methods inherited from interface de.monticore.types.mcbasictypes._ast.ASTMCType
getDefiningSymbol, printType, setDefiningSymbol
-
Methods 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 Detail
-
mCBasicGenericType
protected ASTMCBasicGenericType mCBasicGenericType
-
mCInnerTypes
protected java.util.List<ASTMCInnerType> mCInnerTypes
-
enclosingScope
protected IMCFullGenericTypesScope enclosingScope
-
-
Method Detail
-
deepEquals
public boolean deepEquals(java.lang.Object o)
- Specified by:
deepEqualsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsin interfaceASTMCObjectType- Specified by:
deepEqualsin interfaceASTMCTypeTOP- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEquals
public boolean deepEquals(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsin interfaceASTMCObjectType- Specified by:
deepEqualsin interfaceASTMCTypeTOP- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o)
- Specified by:
deepEqualsWithCommentsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsWithCommentsin interfaceASTMCObjectType- Specified by:
deepEqualsWithCommentsin interfaceASTMCTypeTOP- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsWithCommentsin interfaceASTMCGenericTypeTOP- Specified by:
deepEqualsWithCommentsin interfaceASTMCObjectType- Specified by:
deepEqualsWithCommentsin interfaceASTMCTypeTOP- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
equalAttributes
public boolean equalAttributes(java.lang.Object o)
- Specified by:
equalAttributesin interfaceASTMCGenericTypeTOP- Specified by:
equalAttributesin interfaceASTMCObjectType- Specified by:
equalAttributesin interfaceASTMCTypeTOP- Specified by:
equalAttributesin interfacede.monticore.ast.ASTNode
-
equalsWithComments
public boolean equalsWithComments(java.lang.Object o)
- Specified by:
equalsWithCommentsin interfaceASTMCGenericTypeTOP- Specified by:
equalsWithCommentsin interfaceASTMCObjectType- Specified by:
equalsWithCommentsin interfaceASTMCTypeTOP- Specified by:
equalsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepClone
public ASTMCMultipleGenericType 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
public ASTMCMultipleGenericType deepClone(ASTMCMultipleGenericType result)
-
getMCBasicGenericType
public ASTMCBasicGenericType getMCBasicGenericType()
-
containsMCInnerType
public boolean containsMCInnerType(java.lang.Object element)
-
containsAllMCInnerTypes
public boolean containsAllMCInnerTypes(java.util.Collection<?> collection)
-
isEmptyMCInnerTypes
public boolean isEmptyMCInnerTypes()
-
iteratorMCInnerTypes
public java.util.Iterator<ASTMCInnerType> iteratorMCInnerTypes()
-
sizeMCInnerTypes
public int sizeMCInnerTypes()
-
toArrayMCInnerTypes
public ASTMCInnerType[] toArrayMCInnerTypes(ASTMCInnerType[] array)
-
toArrayMCInnerTypes
public java.lang.Object[] toArrayMCInnerTypes()
-
spliteratorMCInnerTypes
public java.util.Spliterator<ASTMCInnerType> spliteratorMCInnerTypes()
-
streamMCInnerTypes
public java.util.stream.Stream<ASTMCInnerType> streamMCInnerTypes()
-
parallelStreamMCInnerTypes
public java.util.stream.Stream<ASTMCInnerType> parallelStreamMCInnerTypes()
-
getMCInnerType
public ASTMCInnerType getMCInnerType(int index)
-
indexOfMCInnerType
public int indexOfMCInnerType(java.lang.Object element)
-
lastIndexOfMCInnerType
public int lastIndexOfMCInnerType(java.lang.Object element)
-
equalsMCInnerTypes
public boolean equalsMCInnerTypes(java.lang.Object o)
-
hashCodeMCInnerTypes
public int hashCodeMCInnerTypes()
-
listIteratorMCInnerTypes
public java.util.ListIterator<ASTMCInnerType> listIteratorMCInnerTypes()
-
listIteratorMCInnerTypes
public java.util.ListIterator<ASTMCInnerType> listIteratorMCInnerTypes(int index)
-
subListMCInnerTypes
public java.util.List<ASTMCInnerType> subListMCInnerTypes(int start, int end)
-
getMCInnerTypeList
public java.util.List<ASTMCInnerType> getMCInnerTypeList()
-
setMCBasicGenericType
public void setMCBasicGenericType(ASTMCBasicGenericType mCBasicGenericType)
-
clearMCInnerTypes
public void clearMCInnerTypes()
-
addMCInnerType
public boolean addMCInnerType(ASTMCInnerType element)
-
addAllMCInnerTypes
public boolean addAllMCInnerTypes(java.util.Collection<? extends ASTMCInnerType> collection)
-
removeMCInnerType
public boolean removeMCInnerType(java.lang.Object element)
-
removeAllMCInnerTypes
public boolean removeAllMCInnerTypes(java.util.Collection<?> collection)
-
retainAllMCInnerTypes
public boolean retainAllMCInnerTypes(java.util.Collection<?> collection)
-
removeIfMCInnerType
public boolean removeIfMCInnerType(java.util.function.Predicate<? super ASTMCInnerType> filter)
-
forEachMCInnerTypes
public void forEachMCInnerTypes(java.util.function.Consumer<? super ASTMCInnerType> action)
-
addMCInnerType
public void addMCInnerType(int index, ASTMCInnerType element)
-
addAllMCInnerTypes
public boolean addAllMCInnerTypes(int index, java.util.Collection<? extends ASTMCInnerType> collection)
-
removeMCInnerType
public ASTMCInnerType removeMCInnerType(int index)
-
setMCInnerType
public ASTMCInnerType setMCInnerType(int index, ASTMCInnerType element)
-
replaceAllMCInnerTypes
public void replaceAllMCInnerTypes(java.util.function.UnaryOperator<ASTMCInnerType> operator)
-
sortMCInnerTypes
public void sortMCInnerTypes(java.util.Comparator<? super ASTMCInnerType> comparator)
-
setMCInnerTypeList
public void setMCInnerTypeList(java.util.List<ASTMCInnerType> mCInnerTypes)
-
accept
public void accept(MCFullGenericTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTMCFullGenericTypesNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCSimpleGenericTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCCollectionTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTMCCollectionTypesNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCBasicTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTMCBasicTypesNode- Parameters:
visitor- the visitor to dispatch to
-
accept
public void accept(MCBasicsTraverser visitor)
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
protected ASTMCMultipleGenericType _construct()
-
getEnclosingScope
public IMCFullGenericTypesScope getEnclosingScope()
- Specified by:
getEnclosingScopein interfaceASTMCGenericTypeTOP- Specified by:
getEnclosingScopein interfaceASTMCObjectType- Specified by:
getEnclosingScopein interfaceASTMCTypeTOP- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode
-
setEnclosingScope
public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
-
setEnclosingScope
public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
-
setEnclosingScope
public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTMCGenericTypeTOP
-
setEnclosingScope
public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTMCGenericTypeTOP- Specified by:
setEnclosingScopein interfaceASTMCObjectType- Specified by:
setEnclosingScopein interfaceASTMCTypeTOP
-
setEnclosingScope
public void setEnclosingScope(IMCBasicsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTMCGenericTypeTOP- Specified by:
setEnclosingScopein interfaceASTMCObjectType- Specified by:
setEnclosingScopein interfaceASTMCTypeTOP
-
evaluate
public de.monticore.interpreter.Value evaluate(IMCFullGenericTypesInterpreter interpreter)
-
evaluate
public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter)
- Specified by:
evaluatein interfacede.monticore.ast.ASTNode
-
-