Class ASTForallExpression

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.ocl.oclexpressions._ast.ASTForallExpression
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTExpression, ASTExpressionsBasisNode, ASTOCLExpressionsNode, Cloneable

public class ASTForallExpression extends de.monticore.ast.ASTCNode implements ASTExpression, ASTOCLExpressionsNode
  • Field Details

  • Constructor Details

    • ASTForallExpression

      protected ASTForallExpression()
  • Method Details

    • deepEquals

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

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

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

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

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

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

      public ASTForallExpression 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
    • deepClone

      public ASTForallExpression deepClone(ASTForallExpression result)
    • containsInDeclaration

      public boolean containsInDeclaration(Object element)
    • containsAllInDeclarations

      public boolean containsAllInDeclarations(Collection<?> collection)
    • isEmptyInDeclarations

      public boolean isEmptyInDeclarations()
    • iteratorInDeclarations

      public Iterator<ASTInDeclaration> iteratorInDeclarations()
    • sizeInDeclarations

      public int sizeInDeclarations()
    • toArrayInDeclarations

      public ASTInDeclaration[] toArrayInDeclarations(ASTInDeclaration[] array)
    • toArrayInDeclarations

      public Object[] toArrayInDeclarations()
    • spliteratorInDeclarations

      public Spliterator<ASTInDeclaration> spliteratorInDeclarations()
    • streamInDeclarations

      public Stream<ASTInDeclaration> streamInDeclarations()
    • parallelStreamInDeclarations

      public Stream<ASTInDeclaration> parallelStreamInDeclarations()
    • getInDeclaration

      public ASTInDeclaration getInDeclaration(int index)
    • indexOfInDeclaration

      public int indexOfInDeclaration(Object element)
    • lastIndexOfInDeclaration

      public int lastIndexOfInDeclaration(Object element)
    • equalsInDeclarations

      public boolean equalsInDeclarations(Object o)
    • hashCodeInDeclarations

      public int hashCodeInDeclarations()
    • listIteratorInDeclarations

      public ListIterator<ASTInDeclaration> listIteratorInDeclarations()
    • listIteratorInDeclarations

      public ListIterator<ASTInDeclaration> listIteratorInDeclarations(int index)
    • subListInDeclarations

      public List<ASTInDeclaration> subListInDeclarations(int start, int end)
    • getInDeclarationList

      public List<ASTInDeclaration> getInDeclarationList()
    • getExpression

      public ASTExpression getExpression()
    • clearInDeclarations

      public void clearInDeclarations()
    • addInDeclaration

      public boolean addInDeclaration(ASTInDeclaration element)
    • addAllInDeclarations

      public boolean addAllInDeclarations(Collection<? extends ASTInDeclaration> collection)
    • removeInDeclaration

      public boolean removeInDeclaration(Object element)
    • removeAllInDeclarations

      public boolean removeAllInDeclarations(Collection<?> collection)
    • retainAllInDeclarations

      public boolean retainAllInDeclarations(Collection<?> collection)
    • removeIfInDeclaration

      public boolean removeIfInDeclaration(Predicate<? super ASTInDeclaration> filter)
    • forEachInDeclarations

      public void forEachInDeclarations(Consumer<? super ASTInDeclaration> action)
    • addInDeclaration

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

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

      public ASTInDeclaration removeInDeclaration(int index)
    • setInDeclaration

      public ASTInDeclaration setInDeclaration(int index, ASTInDeclaration element)
    • replaceAllInDeclarations

      public void replaceAllInDeclarations(UnaryOperator<ASTInDeclaration> operator)
    • sortInDeclarations

      public void sortInDeclarations(Comparator<? super ASTInDeclaration> comparator)
    • setInDeclarationList

      public void setInDeclarationList(List<ASTInDeclaration> inDeclarations)
    • setExpression

      public void setExpression(ASTExpression expression)
    • accept

      public void accept(OCLExpressionsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTOCLExpressionsNode
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(ExpressionsBasisTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTExpressionsBasisNode
      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
    • _construct

      protected ASTForallExpression _construct()
    • getSpannedScope

      public IOCLExpressionsScope getSpannedScope()
    • setSpannedScope

      public void setSpannedScope(IOCLExpressionsScope spannedScope)
    • getEnclosingScope

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

      public void setEnclosingScope(IOCLExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IExpressionsBasisScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTExpression
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IBasicSymbolsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTExpression
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTExpression
    • evaluate

      public de.monticore.interpreter.Value evaluate(IOCLExpressionsInterpreter interpreter)
    • evaluate

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