Class ASTTypeParameter

    • Constructor Detail

      • ASTTypeParameter

        protected ASTTypeParameter()
    • Method Detail

      • deepEquals

        public boolean deepEquals​(java.lang.Object o)
        Specified by:
        deepEquals in interface de.monticore.ast.ASTNode
        Specified by:
        deepEquals in interface ASTType
        Specified by:
        deepEquals in interface ASTTypeVar
      • deepEquals

        public boolean deepEquals​(java.lang.Object o,
                                  boolean forceSameOrder)
        Specified by:
        deepEquals in interface de.monticore.ast.ASTNode
        Specified by:
        deepEquals in interface ASTType
        Specified by:
        deepEquals in interface ASTTypeVar
      • deepEqualsWithComments

        public boolean deepEqualsWithComments​(java.lang.Object o,
                                              boolean forceSameOrder)
        Specified by:
        deepEqualsWithComments in interface de.monticore.ast.ASTNode
        Specified by:
        deepEqualsWithComments in interface ASTType
        Specified by:
        deepEqualsWithComments in interface ASTTypeVar
      • equalAttributes

        public boolean equalAttributes​(java.lang.Object o)
        Specified by:
        equalAttributes in interface de.monticore.ast.ASTNode
        Specified by:
        equalAttributes in interface ASTType
        Specified by:
        equalAttributes in interface ASTTypeVar
      • equalsWithComments

        public boolean equalsWithComments​(java.lang.Object o)
        Specified by:
        equalsWithComments in interface de.monticore.ast.ASTNode
        Specified by:
        equalsWithComments in interface ASTType
        Specified by:
        equalsWithComments in interface ASTTypeVar
      • deepClone

        public ASTTypeParameter deepClone()
        Specified by:
        deepClone in interface de.monticore.ast.ASTNode
        Specified by:
        deepClone in interface ASTType
        Specified by:
        deepClone in interface ASTTypeVar
        Specified by:
        deepClone in class de.monticore.ast.ASTCNode
      • 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​(BasicSymbolsTraverser visitor)
        Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
        Specified by:
        accept in interface ASTBasicSymbolsNode
        Parameters:
        visitor - the visitor to dispatch to
      • accept

        public void accept​(MCBasicTypesTraverser visitor)
        Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
        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:
        accept in interface de.monticore.ast.ASTNode
        Parameters:
        visitor - the visitor to dispatch to
      • setSymbolAbsent

        public void setSymbolAbsent()
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicTypesScope enclosingScope)
      • evaluate

        public de.monticore.interpreter.Value evaluate​(de.monticore.interpreter.ModelInterpreter interpreter)
        Specified by:
        evaluate in interface de.monticore.ast.ASTNode