Class ASTMCTupleTypeTOP
- java.lang.Object
-
- de.monticore.ast.ASTCNode
-
- de.monticore.types.mcstructuraltypes._ast.ASTMCTupleTypeTOP
-
- All Implemented Interfaces:
de.monticore.ast.ASTNode,ASTMCBasicTypesNode,ASTMCType,ASTMCTypeTOP,ASTMCStructuralTypesNode,java.lang.Cloneable
- Direct Known Subclasses:
ASTMCTupleType
public abstract class ASTMCTupleTypeTOP extends de.monticore.ast.ASTCNode implements ASTMCType, ASTMCStructuralTypesNode
-
-
Field Summary
Fields Modifier and Type Field Description protected IMCStructuralTypesScopeenclosingScopeprotected java.util.List<ASTMCType>mCTypes
-
Constructor Summary
Constructors Modifier Constructor Description protectedASTMCTupleTypeTOP()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ASTMCTupleType_construct()voidaccept(MCBasicsTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCBasicTypesTraverser visitor)Entry point for the Visitor pattern.voidaccept(MCStructuralTypesTraverser visitor)Entry point for the Visitor pattern.voidaccept(de.monticore.visitor.ITraverser visitor)Entry point for the Visitor pattern.booleanaddAllMCTypes(int index, java.util.Collection<? extends ASTMCType> collection)booleanaddAllMCTypes(java.util.Collection<? extends ASTMCType> collection)voidaddMCType(int index, ASTMCType element)booleanaddMCType(ASTMCType element)voidclearMCTypes()booleancontainsAllMCTypes(java.util.Collection<?> collection)booleancontainsMCType(java.lang.Object element)ASTMCTupleTypedeepClone()ASTMCTupleTypedeepClone(ASTMCTupleType 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)booleanequalsMCTypes(java.lang.Object o)booleanequalsWithComments(java.lang.Object o)de.monticore.interpreter.Valueevaluate(de.monticore.interpreter.ModelInterpreter interpreter)de.monticore.interpreter.Valueevaluate(IMCStructuralTypesInterpreter interpreter)voidforEachMCTypes(java.util.function.Consumer<? super ASTMCType> action)IMCStructuralTypesScopegetEnclosingScope()ASTMCTypegetMCType(int index)java.util.List<ASTMCType>getMCTypeList()inthashCodeMCTypes()intindexOfMCType(java.lang.Object element)booleanisEmptyMCTypes()java.util.Iterator<ASTMCType>iteratorMCTypes()intlastIndexOfMCType(java.lang.Object element)java.util.ListIterator<ASTMCType>listIteratorMCTypes()java.util.ListIterator<ASTMCType>listIteratorMCTypes(int index)java.util.stream.Stream<ASTMCType>parallelStreamMCTypes()booleanremoveAllMCTypes(java.util.Collection<?> collection)booleanremoveIfMCType(java.util.function.Predicate<? super ASTMCType> filter)ASTMCTyperemoveMCType(int index)booleanremoveMCType(java.lang.Object element)voidreplaceAllMCTypes(java.util.function.UnaryOperator<ASTMCType> operator)booleanretainAllMCTypes(java.util.Collection<?> collection)voidsetEnclosingScope(IMCBasicsScope enclosingScope)voidsetEnclosingScope(IMCBasicTypesScope enclosingScope)voidsetEnclosingScope(IMCStructuralTypesScope enclosingScope)ASTMCTypesetMCType(int index, ASTMCType element)voidsetMCTypeList(java.util.List<ASTMCType> mCTypes)intsizeMCTypes()voidsortMCTypes(java.util.Comparator<? super ASTMCType> comparator)java.util.Spliterator<ASTMCType>spliteratorMCTypes()java.util.stream.Stream<ASTMCType>streamMCTypes()java.util.List<ASTMCType>subListMCTypes(int start, int end)java.lang.Object[]toArrayMCTypes()ASTMCType[]toArrayMCTypes(ASTMCType[] 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.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
-
mCTypes
protected java.util.List<ASTMCType> mCTypes
-
enclosingScope
protected IMCStructuralTypesScope enclosingScope
-
-
Method Detail
-
deepEquals
public boolean deepEquals(java.lang.Object o)
- Specified by:
deepEqualsin interfaceASTMCTypeTOP- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEquals
public boolean deepEquals(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsin interfaceASTMCTypeTOP- Specified by:
deepEqualsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o)
- Specified by:
deepEqualsWithCommentsin interfaceASTMCTypeTOP- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepEqualsWithComments
public boolean deepEqualsWithComments(java.lang.Object o, boolean forceSameOrder)- Specified by:
deepEqualsWithCommentsin interfaceASTMCTypeTOP- Specified by:
deepEqualsWithCommentsin interfacede.monticore.ast.ASTNode
-
equalAttributes
public boolean equalAttributes(java.lang.Object o)
- Specified by:
equalAttributesin interfaceASTMCTypeTOP- Specified by:
equalAttributesin interfacede.monticore.ast.ASTNode
-
equalsWithComments
public boolean equalsWithComments(java.lang.Object o)
- Specified by:
equalsWithCommentsin interfaceASTMCTypeTOP- Specified by:
equalsWithCommentsin interfacede.monticore.ast.ASTNode
-
deepClone
public ASTMCTupleType deepClone()
- Specified by:
deepClonein interfaceASTMCTypeTOP- Specified by:
deepClonein interfacede.monticore.ast.ASTNode- Specified by:
deepClonein classde.monticore.ast.ASTCNode
-
deepClone
public ASTMCTupleType deepClone(ASTMCTupleType result)
-
containsMCType
public boolean containsMCType(java.lang.Object element)
-
containsAllMCTypes
public boolean containsAllMCTypes(java.util.Collection<?> collection)
-
isEmptyMCTypes
public boolean isEmptyMCTypes()
-
iteratorMCTypes
public java.util.Iterator<ASTMCType> iteratorMCTypes()
-
sizeMCTypes
public int sizeMCTypes()
-
toArrayMCTypes
public java.lang.Object[] toArrayMCTypes()
-
spliteratorMCTypes
public java.util.Spliterator<ASTMCType> spliteratorMCTypes()
-
streamMCTypes
public java.util.stream.Stream<ASTMCType> streamMCTypes()
-
parallelStreamMCTypes
public java.util.stream.Stream<ASTMCType> parallelStreamMCTypes()
-
getMCType
public ASTMCType getMCType(int index)
-
indexOfMCType
public int indexOfMCType(java.lang.Object element)
-
lastIndexOfMCType
public int lastIndexOfMCType(java.lang.Object element)
-
equalsMCTypes
public boolean equalsMCTypes(java.lang.Object o)
-
hashCodeMCTypes
public int hashCodeMCTypes()
-
listIteratorMCTypes
public java.util.ListIterator<ASTMCType> listIteratorMCTypes()
-
listIteratorMCTypes
public java.util.ListIterator<ASTMCType> listIteratorMCTypes(int index)
-
subListMCTypes
public java.util.List<ASTMCType> subListMCTypes(int start, int end)
-
getMCTypeList
public java.util.List<ASTMCType> getMCTypeList()
-
clearMCTypes
public void clearMCTypes()
-
addMCType
public boolean addMCType(ASTMCType element)
-
addAllMCTypes
public boolean addAllMCTypes(java.util.Collection<? extends ASTMCType> collection)
-
removeMCType
public boolean removeMCType(java.lang.Object element)
-
removeAllMCTypes
public boolean removeAllMCTypes(java.util.Collection<?> collection)
-
retainAllMCTypes
public boolean retainAllMCTypes(java.util.Collection<?> collection)
-
removeIfMCType
public boolean removeIfMCType(java.util.function.Predicate<? super ASTMCType> filter)
-
forEachMCTypes
public void forEachMCTypes(java.util.function.Consumer<? super ASTMCType> action)
-
addMCType
public void addMCType(int index, ASTMCType element)
-
addAllMCTypes
public boolean addAllMCTypes(int index, java.util.Collection<? extends ASTMCType> collection)
-
removeMCType
public ASTMCType removeMCType(int index)
-
replaceAllMCTypes
public void replaceAllMCTypes(java.util.function.UnaryOperator<ASTMCType> operator)
-
sortMCTypes
public void sortMCTypes(java.util.Comparator<? super ASTMCType> comparator)
-
setMCTypeList
public void setMCTypeList(java.util.List<ASTMCType> mCTypes)
-
accept
public void accept(MCStructuralTypesTraverser visitor)
Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.- Specified by:
acceptin interfaceASTMCStructuralTypesNode- 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 ASTMCTupleType _construct()
-
getEnclosingScope
public IMCStructuralTypesScope getEnclosingScope()
- Specified by:
getEnclosingScopein interfaceASTMCTypeTOP- Specified by:
getEnclosingScopein interfacede.monticore.ast.ASTNode
-
setEnclosingScope
public void setEnclosingScope(IMCStructuralTypesScope enclosingScope)
-
setEnclosingScope
public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTMCTypeTOP
-
setEnclosingScope
public void setEnclosingScope(IMCBasicsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceASTMCTypeTOP
-
evaluate
public de.monticore.interpreter.Value evaluate(IMCStructuralTypesInterpreter interpreter)
-
evaluate
public de.monticore.interpreter.Value evaluate(de.monticore.interpreter.ModelInterpreter interpreter)
- Specified by:
evaluatein interfacede.monticore.ast.ASTNode
-
-