Class ASTInDeclaration

    • Constructor Detail

      • ASTInDeclaration

        protected ASTInDeclaration()
    • Method Detail

      • deepEquals

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

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

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

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

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

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

        public ASTInDeclaration deepClone()
        Specified by:
        deepClone in interface de.monticore.ast.ASTNode
        Specified by:
        deepClone in class de.monticore.ast.ASTCNode
      • isPresentMCType

        public boolean isPresentMCType()
      • containsInDeclarationVariable

        public boolean containsInDeclarationVariable​(java.lang.Object element)
      • containsAllInDeclarationVariables

        public boolean containsAllInDeclarationVariables​(java.util.Collection<?> collection)
      • isEmptyInDeclarationVariables

        public boolean isEmptyInDeclarationVariables()
      • sizeInDeclarationVariables

        public int sizeInDeclarationVariables()
      • toArrayInDeclarationVariables

        public java.lang.Object[] toArrayInDeclarationVariables()
      • spliteratorInDeclarationVariables

        public java.util.Spliterator<ASTInDeclarationVariable> spliteratorInDeclarationVariables()
      • streamInDeclarationVariables

        public java.util.stream.Stream<ASTInDeclarationVariable> streamInDeclarationVariables()
      • parallelStreamInDeclarationVariables

        public java.util.stream.Stream<ASTInDeclarationVariable> parallelStreamInDeclarationVariables()
      • indexOfInDeclarationVariable

        public int indexOfInDeclarationVariable​(java.lang.Object element)
      • lastIndexOfInDeclarationVariable

        public int lastIndexOfInDeclarationVariable​(java.lang.Object element)
      • equalsInDeclarationVariables

        public boolean equalsInDeclarationVariables​(java.lang.Object o)
      • hashCodeInDeclarationVariables

        public int hashCodeInDeclarationVariables()
      • listIteratorInDeclarationVariables

        public java.util.ListIterator<ASTInDeclarationVariable> listIteratorInDeclarationVariables()
      • listIteratorInDeclarationVariables

        public java.util.ListIterator<ASTInDeclarationVariable> listIteratorInDeclarationVariables​(int index)
      • subListInDeclarationVariables

        public java.util.List<ASTInDeclarationVariable> subListInDeclarationVariables​(int start,
                                                                                      int end)
      • isPresentExpression

        public boolean isPresentExpression()
      • setMCType

        public void setMCType​(ASTMCType mCType)
      • setMCTypeAbsent

        public void setMCTypeAbsent()
      • clearInDeclarationVariables

        public void clearInDeclarationVariables()
      • addAllInDeclarationVariables

        public boolean addAllInDeclarationVariables​(java.util.Collection<? extends ASTInDeclarationVariable> collection)
      • removeInDeclarationVariable

        public boolean removeInDeclarationVariable​(java.lang.Object element)
      • removeAllInDeclarationVariables

        public boolean removeAllInDeclarationVariables​(java.util.Collection<?> collection)
      • retainAllInDeclarationVariables

        public boolean retainAllInDeclarationVariables​(java.util.Collection<?> collection)
      • removeIfInDeclarationVariable

        public boolean removeIfInDeclarationVariable​(java.util.function.Predicate<? super ASTInDeclarationVariable> filter)
      • forEachInDeclarationVariables

        public void forEachInDeclarationVariables​(java.util.function.Consumer<? super ASTInDeclarationVariable> action)
      • addAllInDeclarationVariables

        public boolean addAllInDeclarationVariables​(int index,
                                                    java.util.Collection<? extends ASTInDeclarationVariable> collection)
      • replaceAllInDeclarationVariables

        public void replaceAllInDeclarationVariables​(java.util.function.UnaryOperator<ASTInDeclarationVariable> operator)
      • sortInDeclarationVariables

        public void sortInDeclarationVariables​(java.util.Comparator<? super ASTInDeclarationVariable> comparator)
      • setInDeclarationVariableList

        public void setInDeclarationVariableList​(java.util.List<ASTInDeclarationVariable> inDeclarationVariables)
      • setExpression

        public void setExpression​(ASTExpression expression)
      • setExpressionAbsent

        public void setExpressionAbsent()
      • accept

        public void accept​(ExpressionsBasisTraverser visitor)
        Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
        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​(BasicSymbolsTraverser 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​(MCLiteralsBasisTraverser 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
      • getEnclosingScope

        public IOCLExpressionsScope getEnclosingScope()
        Specified by:
        getEnclosingScope in interface de.monticore.ast.ASTNode
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicTypesScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IBasicSymbolsScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicsScope enclosingScope)
      • evaluate

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