Class ASTFormalParameterListing

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.javalight._ast.ASTFormalParameterListing
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTJavaLightNode, Cloneable

public class ASTFormalParameterListing extends de.monticore.ast.ASTCNode implements ASTJavaLightNode
  • Field Details

  • Constructor Details

    • ASTFormalParameterListing

      protected ASTFormalParameterListing()
  • 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 ASTFormalParameterListing deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

    • containsFormalParameter

      public boolean containsFormalParameter(Object element)
    • containsAllFormalParameters

      public boolean containsAllFormalParameters(Collection<?> collection)
    • isEmptyFormalParameters

      public boolean isEmptyFormalParameters()
    • iteratorFormalParameters

      public Iterator<ASTFormalParameter> iteratorFormalParameters()
    • sizeFormalParameters

      public int sizeFormalParameters()
    • toArrayFormalParameters

      public ASTFormalParameter[] toArrayFormalParameters(ASTFormalParameter[] array)
    • toArrayFormalParameters

      public Object[] toArrayFormalParameters()
    • spliteratorFormalParameters

      public Spliterator<ASTFormalParameter> spliteratorFormalParameters()
    • streamFormalParameters

      public Stream<ASTFormalParameter> streamFormalParameters()
    • parallelStreamFormalParameters

      public Stream<ASTFormalParameter> parallelStreamFormalParameters()
    • getFormalParameter

      public ASTFormalParameter getFormalParameter(int index)
    • indexOfFormalParameter

      public int indexOfFormalParameter(Object element)
    • lastIndexOfFormalParameter

      public int lastIndexOfFormalParameter(Object element)
    • equalsFormalParameters

      public boolean equalsFormalParameters(Object o)
    • hashCodeFormalParameters

      public int hashCodeFormalParameters()
    • listIteratorFormalParameters

      public ListIterator<ASTFormalParameter> listIteratorFormalParameters()
    • listIteratorFormalParameters

      public ListIterator<ASTFormalParameter> listIteratorFormalParameters(int index)
    • subListFormalParameters

      public List<ASTFormalParameter> subListFormalParameters(int start, int end)
    • getFormalParameterList

      public List<ASTFormalParameter> getFormalParameterList()
    • getLastFormalParameter

      public ASTLastFormalParameter getLastFormalParameter()
    • isPresentLastFormalParameter

      public boolean isPresentLastFormalParameter()
    • clearFormalParameters

      public void clearFormalParameters()
    • addFormalParameter

      public boolean addFormalParameter(ASTFormalParameter element)
    • addAllFormalParameters

      public boolean addAllFormalParameters(Collection<? extends ASTFormalParameter> collection)
    • removeFormalParameter

      public boolean removeFormalParameter(Object element)
    • removeAllFormalParameters

      public boolean removeAllFormalParameters(Collection<?> collection)
    • retainAllFormalParameters

      public boolean retainAllFormalParameters(Collection<?> collection)
    • removeIfFormalParameter

      public boolean removeIfFormalParameter(Predicate<? super ASTFormalParameter> filter)
    • forEachFormalParameters

      public void forEachFormalParameters(Consumer<? super ASTFormalParameter> action)
    • addFormalParameter

      public void addFormalParameter(int index, ASTFormalParameter element)
    • addAllFormalParameters

      public boolean addAllFormalParameters(int index, Collection<? extends ASTFormalParameter> collection)
    • removeFormalParameter

      public ASTFormalParameter removeFormalParameter(int index)
    • setFormalParameter

      public ASTFormalParameter setFormalParameter(int index, ASTFormalParameter element)
    • replaceAllFormalParameters

      public void replaceAllFormalParameters(UnaryOperator<ASTFormalParameter> operator)
    • sortFormalParameters

      public void sortFormalParameters(Comparator<? super ASTFormalParameter> comparator)
    • setFormalParameterList

      public void setFormalParameterList(List<ASTFormalParameter> formalParameters)
    • setLastFormalParameter

      public void setLastFormalParameter(ASTLastFormalParameter lastFormalParameter)
    • setLastFormalParameterAbsent

      public void setLastFormalParameterAbsent()
    • accept

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

      public void accept(AssignmentExpressionsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(JavaClassExpressionsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCCommonLiteralsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCCommonStatementsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCArrayStatementsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCReturnStatementsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(TypeParametersTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      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(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(CommonExpressionsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCVarDeclarationStatementsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCFullGenericTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(UglyExpressionsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCStatementsBasisTraverser 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(OOSymbolsTraverser 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(MCSimpleGenericTypesTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Parameters:
      visitor - the visitor to dispatch to
    • accept

      public void accept(MCCollectionTypesTraverser 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 ASTFormalParameterListing _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IJavaLightScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IAssignmentExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IJavaClassExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCArrayStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCReturnStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(ITypeParametersScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IExpressionsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(ICommonExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCVarDeclarationStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IUglyExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCStatementsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IOOSymbolsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IBasicSymbolsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCollectionTypesScope enclosingScope)
    • evaluate

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

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