Class ASTExistsExpression

    • Constructor Detail

      • ASTExistsExpression

        protected ASTExistsExpression()
    • Method Detail

      • deepEquals

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

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

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

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

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

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

        public ASTExistsExpression deepClone()
        Specified by:
        deepClone in interface ASTExpression
        Specified by:
        deepClone in interface de.monticore.ast.ASTNode
        Specified by:
        deepClone in class de.monticore.ast.ASTCNode
      • containsInDeclaration

        public boolean containsInDeclaration​(java.lang.Object element)
      • containsAllInDeclarations

        public boolean containsAllInDeclarations​(java.util.Collection<?> collection)
      • isEmptyInDeclarations

        public boolean isEmptyInDeclarations()
      • iteratorInDeclarations

        public java.util.Iterator<ASTInDeclaration> iteratorInDeclarations()
      • sizeInDeclarations

        public int sizeInDeclarations()
      • toArrayInDeclarations

        public java.lang.Object[] toArrayInDeclarations()
      • spliteratorInDeclarations

        public java.util.Spliterator<ASTInDeclaration> spliteratorInDeclarations()
      • streamInDeclarations

        public java.util.stream.Stream<ASTInDeclaration> streamInDeclarations()
      • parallelStreamInDeclarations

        public java.util.stream.Stream<ASTInDeclaration> parallelStreamInDeclarations()
      • indexOfInDeclaration

        public int indexOfInDeclaration​(java.lang.Object element)
      • lastIndexOfInDeclaration

        public int lastIndexOfInDeclaration​(java.lang.Object element)
      • equalsInDeclarations

        public boolean equalsInDeclarations​(java.lang.Object o)
      • hashCodeInDeclarations

        public int hashCodeInDeclarations()
      • listIteratorInDeclarations

        public java.util.ListIterator<ASTInDeclaration> listIteratorInDeclarations()
      • listIteratorInDeclarations

        public java.util.ListIterator<ASTInDeclaration> listIteratorInDeclarations​(int index)
      • subListInDeclarations

        public java.util.List<ASTInDeclaration> subListInDeclarations​(int start,
                                                                      int end)
      • getInDeclarationList

        public java.util.List<ASTInDeclaration> getInDeclarationList()
      • clearInDeclarations

        public void clearInDeclarations()
      • addInDeclaration

        public boolean addInDeclaration​(ASTInDeclaration element)
      • addAllInDeclarations

        public boolean addAllInDeclarations​(java.util.Collection<? extends ASTInDeclaration> collection)
      • removeInDeclaration

        public boolean removeInDeclaration​(java.lang.Object element)
      • removeAllInDeclarations

        public boolean removeAllInDeclarations​(java.util.Collection<?> collection)
      • retainAllInDeclarations

        public boolean retainAllInDeclarations​(java.util.Collection<?> collection)
      • removeIfInDeclaration

        public boolean removeIfInDeclaration​(java.util.function.Predicate<? super ASTInDeclaration> filter)
      • forEachInDeclarations

        public void forEachInDeclarations​(java.util.function.Consumer<? super ASTInDeclaration> action)
      • addInDeclaration

        public void addInDeclaration​(int index,
                                     ASTInDeclaration element)
      • addAllInDeclarations

        public boolean addAllInDeclarations​(int index,
                                            java.util.Collection<? extends ASTInDeclaration> collection)
      • removeInDeclaration

        public ASTInDeclaration removeInDeclaration​(int index)
      • replaceAllInDeclarations

        public void replaceAllInDeclarations​(java.util.function.UnaryOperator<ASTInDeclaration> operator)
      • sortInDeclarations

        public void sortInDeclarations​(java.util.Comparator<? super ASTInDeclaration> comparator)
      • setInDeclarationList

        public void setInDeclarationList​(java.util.List<ASTInDeclaration> inDeclarations)
      • setExpression

        public void setExpression​(ASTExpression expression)
      • 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
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicTypesScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IBasicSymbolsScope enclosingScope)
      • evaluate

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