Class ASTLetinExpression

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

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

  • Constructor Details

    • ASTLetinExpression

      protected ASTLetinExpression()
  • 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 ASTLetinExpression 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 ASTLetinExpression deepClone(ASTLetinExpression result)
    • containsOCLVariableDeclaration

      public boolean containsOCLVariableDeclaration(Object element)
    • containsAllOCLVariableDeclarations

      public boolean containsAllOCLVariableDeclarations(Collection<?> collection)
    • isEmptyOCLVariableDeclarations

      public boolean isEmptyOCLVariableDeclarations()
    • iteratorOCLVariableDeclarations

      public Iterator<ASTOCLVariableDeclaration> iteratorOCLVariableDeclarations()
    • sizeOCLVariableDeclarations

      public int sizeOCLVariableDeclarations()
    • toArrayOCLVariableDeclarations

      public ASTOCLVariableDeclaration[] toArrayOCLVariableDeclarations(ASTOCLVariableDeclaration[] array)
    • toArrayOCLVariableDeclarations

      public Object[] toArrayOCLVariableDeclarations()
    • spliteratorOCLVariableDeclarations

      public Spliterator<ASTOCLVariableDeclaration> spliteratorOCLVariableDeclarations()
    • streamOCLVariableDeclarations

      public Stream<ASTOCLVariableDeclaration> streamOCLVariableDeclarations()
    • parallelStreamOCLVariableDeclarations

      public Stream<ASTOCLVariableDeclaration> parallelStreamOCLVariableDeclarations()
    • getOCLVariableDeclaration

      public ASTOCLVariableDeclaration getOCLVariableDeclaration(int index)
    • indexOfOCLVariableDeclaration

      public int indexOfOCLVariableDeclaration(Object element)
    • lastIndexOfOCLVariableDeclaration

      public int lastIndexOfOCLVariableDeclaration(Object element)
    • equalsOCLVariableDeclarations

      public boolean equalsOCLVariableDeclarations(Object o)
    • hashCodeOCLVariableDeclarations

      public int hashCodeOCLVariableDeclarations()
    • listIteratorOCLVariableDeclarations

      public ListIterator<ASTOCLVariableDeclaration> listIteratorOCLVariableDeclarations()
    • listIteratorOCLVariableDeclarations

      public ListIterator<ASTOCLVariableDeclaration> listIteratorOCLVariableDeclarations(int index)
    • subListOCLVariableDeclarations

      public List<ASTOCLVariableDeclaration> subListOCLVariableDeclarations(int start, int end)
    • getOCLVariableDeclarationList

      public List<ASTOCLVariableDeclaration> getOCLVariableDeclarationList()
    • getExpression

      public ASTExpression getExpression()
    • clearOCLVariableDeclarations

      public void clearOCLVariableDeclarations()
    • addOCLVariableDeclaration

      public boolean addOCLVariableDeclaration(ASTOCLVariableDeclaration element)
    • addAllOCLVariableDeclarations

      public boolean addAllOCLVariableDeclarations(Collection<? extends ASTOCLVariableDeclaration> collection)
    • removeOCLVariableDeclaration

      public boolean removeOCLVariableDeclaration(Object element)
    • removeAllOCLVariableDeclarations

      public boolean removeAllOCLVariableDeclarations(Collection<?> collection)
    • retainAllOCLVariableDeclarations

      public boolean retainAllOCLVariableDeclarations(Collection<?> collection)
    • removeIfOCLVariableDeclaration

      public boolean removeIfOCLVariableDeclaration(Predicate<? super ASTOCLVariableDeclaration> filter)
    • forEachOCLVariableDeclarations

      public void forEachOCLVariableDeclarations(Consumer<? super ASTOCLVariableDeclaration> action)
    • addOCLVariableDeclaration

      public void addOCLVariableDeclaration(int index, ASTOCLVariableDeclaration element)
    • addAllOCLVariableDeclarations

      public boolean addAllOCLVariableDeclarations(int index, Collection<? extends ASTOCLVariableDeclaration> collection)
    • removeOCLVariableDeclaration

      public ASTOCLVariableDeclaration removeOCLVariableDeclaration(int index)
    • setOCLVariableDeclaration

      public ASTOCLVariableDeclaration setOCLVariableDeclaration(int index, ASTOCLVariableDeclaration element)
    • replaceAllOCLVariableDeclarations

      public void replaceAllOCLVariableDeclarations(UnaryOperator<ASTOCLVariableDeclaration> operator)
    • sortOCLVariableDeclarations

      public void sortOCLVariableDeclarations(Comparator<? super ASTOCLVariableDeclaration> comparator)
    • setOCLVariableDeclarationList

      public void setOCLVariableDeclarationList(List<ASTOCLVariableDeclaration> oCLVariableDeclarations)
    • 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 ASTLetinExpression _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