Class ASTInDeclaration

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

public class ASTInDeclaration extends de.monticore.ast.ASTCNode implements ASTOCLExpressionsNode
  • Field Details

  • Constructor Details

    • ASTInDeclaration

      protected ASTInDeclaration()
  • Method Details

    • deepEquals

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

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

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

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

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

      public boolean equalsWithComments(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
    • deepClone

      public ASTInDeclaration deepClone(ASTInDeclaration result)
    • getMCType

      public ASTMCType getMCType()
    • isPresentMCType

      public boolean isPresentMCType()
    • containsInDeclarationVariable

      public boolean containsInDeclarationVariable(Object element)
    • containsAllInDeclarationVariables

      public boolean containsAllInDeclarationVariables(Collection<?> collection)
    • isEmptyInDeclarationVariables

      public boolean isEmptyInDeclarationVariables()
    • iteratorInDeclarationVariables

      public Iterator<ASTInDeclarationVariable> iteratorInDeclarationVariables()
    • sizeInDeclarationVariables

      public int sizeInDeclarationVariables()
    • toArrayInDeclarationVariables

      public ASTInDeclarationVariable[] toArrayInDeclarationVariables(ASTInDeclarationVariable[] array)
    • toArrayInDeclarationVariables

      public Object[] toArrayInDeclarationVariables()
    • spliteratorInDeclarationVariables

      public Spliterator<ASTInDeclarationVariable> spliteratorInDeclarationVariables()
    • streamInDeclarationVariables

      public Stream<ASTInDeclarationVariable> streamInDeclarationVariables()
    • parallelStreamInDeclarationVariables

      public Stream<ASTInDeclarationVariable> parallelStreamInDeclarationVariables()
    • getInDeclarationVariable

      public ASTInDeclarationVariable getInDeclarationVariable(int index)
    • indexOfInDeclarationVariable

      public int indexOfInDeclarationVariable(Object element)
    • lastIndexOfInDeclarationVariable

      public int lastIndexOfInDeclarationVariable(Object element)
    • equalsInDeclarationVariables

      public boolean equalsInDeclarationVariables(Object o)
    • hashCodeInDeclarationVariables

      public int hashCodeInDeclarationVariables()
    • listIteratorInDeclarationVariables

      public ListIterator<ASTInDeclarationVariable> listIteratorInDeclarationVariables()
    • listIteratorInDeclarationVariables

      public ListIterator<ASTInDeclarationVariable> listIteratorInDeclarationVariables(int index)
    • subListInDeclarationVariables

      public List<ASTInDeclarationVariable> subListInDeclarationVariables(int start, int end)
    • getInDeclarationVariableList

      public List<ASTInDeclarationVariable> getInDeclarationVariableList()
    • getExpression

      public ASTExpression getExpression()
    • isPresentExpression

      public boolean isPresentExpression()
    • setMCType

      public void setMCType(ASTMCType mCType)
    • setMCTypeAbsent

      public void setMCTypeAbsent()
    • clearInDeclarationVariables

      public void clearInDeclarationVariables()
    • addInDeclarationVariable

      public boolean addInDeclarationVariable(ASTInDeclarationVariable element)
    • addAllInDeclarationVariables

      public boolean addAllInDeclarationVariables(Collection<? extends ASTInDeclarationVariable> collection)
    • removeInDeclarationVariable

      public boolean removeInDeclarationVariable(Object element)
    • removeAllInDeclarationVariables

      public boolean removeAllInDeclarationVariables(Collection<?> collection)
    • retainAllInDeclarationVariables

      public boolean retainAllInDeclarationVariables(Collection<?> collection)
    • removeIfInDeclarationVariable

      public boolean removeIfInDeclarationVariable(Predicate<? super ASTInDeclarationVariable> filter)
    • forEachInDeclarationVariables

      public void forEachInDeclarationVariables(Consumer<? super ASTInDeclarationVariable> action)
    • addInDeclarationVariable

      public void addInDeclarationVariable(int index, ASTInDeclarationVariable element)
    • addAllInDeclarationVariables

      public boolean addAllInDeclarationVariables(int index, Collection<? extends ASTInDeclarationVariable> collection)
    • removeInDeclarationVariable

      public ASTInDeclarationVariable removeInDeclarationVariable(int index)
    • setInDeclarationVariable

      public ASTInDeclarationVariable setInDeclarationVariable(int index, ASTInDeclarationVariable element)
    • replaceAllInDeclarationVariables

      public void replaceAllInDeclarationVariables(UnaryOperator<ASTInDeclarationVariable> operator)
    • sortInDeclarationVariables

      public void sortInDeclarationVariables(Comparator<? super ASTInDeclarationVariable> comparator)
    • setInDeclarationVariableList

      public void setInDeclarationVariableList(List<ASTInDeclarationVariable> inDeclarationVariables)
    • setExpression

      public void setExpression(ASTExpression expression)
    • setExpressionAbsent

      public void setExpressionAbsent()
    • 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.
      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 ASTInDeclaration _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IOCLExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IExpressionsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IBasicSymbolsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
    • 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