Class ASTArrayDimensionByInitializer

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

public class ASTArrayDimensionByInitializer extends de.monticore.ast.ASTCNode implements ASTArrayDimensionSpecifier, ASTJavaLightNode
  • Field Details

  • Constructor Details

    • ASTArrayDimensionByInitializer

      protected ASTArrayDimensionByInitializer()
  • Method Details

    • deepEquals

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

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

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

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

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

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

      public ASTArrayDimensionByInitializer deepClone()
      Specified by:
      deepClone in interface ASTArrayDimensionSpecifier
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • deepClone

    • getArrayInit

      public ASTArrayInit getArrayInit()
    • containsDim

      public boolean containsDim(Object element)
    • containsAllDim

      public boolean containsAllDim(Collection<?> collection)
    • isEmptyDim

      public boolean isEmptyDim()
    • iteratorDim

      public Iterator<String> iteratorDim()
    • sizeDim

      public int sizeDim()
    • toArrayDim

      public String[] toArrayDim(String[] array)
    • toArrayDim

      public Object[] toArrayDim()
    • spliteratorDim

      public Spliterator<String> spliteratorDim()
    • streamDim

      public Stream<String> streamDim()
    • parallelStreamDim

      public Stream<String> parallelStreamDim()
    • getDim

      public String getDim(int index)
    • indexOfDim

      public int indexOfDim(Object element)
    • lastIndexOfDim

      public int lastIndexOfDim(Object element)
    • equalsDim

      public boolean equalsDim(Object o)
    • hashCodeDim

      public int hashCodeDim()
    • listIteratorDim

      public ListIterator<String> listIteratorDim()
    • listIteratorDim

      public ListIterator<String> listIteratorDim(int index)
    • subListDim

      public List<String> subListDim(int start, int end)
    • getDimList

      public List<String> getDimList()
    • setArrayInit

      public void setArrayInit(ASTArrayInit arrayInit)
    • clearDim

      public void clearDim()
    • addDim

      public boolean addDim(String element)
    • addAllDim

      public boolean addAllDim(Collection<? extends String> collection)
    • removeDim

      public boolean removeDim(Object element)
    • removeAllDim

      public boolean removeAllDim(Collection<?> collection)
    • retainAllDim

      public boolean retainAllDim(Collection<?> collection)
    • removeIfDim

      public boolean removeIfDim(Predicate<? super String> filter)
    • forEachDim

      public void forEachDim(Consumer<? super String> action)
    • addDim

      public void addDim(int index, String element)
    • addAllDim

      public boolean addAllDim(int index, Collection<? extends String> collection)
    • removeDim

      public String removeDim(int index)
    • setDim

      public String setDim(int index, String element)
    • replaceAllDim

      public void replaceAllDim(UnaryOperator<String> operator)
    • sortDim

      public void sortDim(Comparator<? super String> comparator)
    • setDimList

      public void setDimList(List<String> dim)
    • 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.
      Specified by:
      accept in interface ASTUglyExpressionsNode
      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 ASTArrayDimensionByInitializer _construct()
    • getEnclosingScope

      public IJavaLightScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface ASTArrayDimensionSpecifier
      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)
      Specified by:
      setEnclosingScope in interface ASTArrayDimensionSpecifier
    • setEnclosingScope

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

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

      public void setEnclosingScope(ICommonExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCVarDeclarationStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCFullGenericTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IUglyExpressionsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTArrayDimensionSpecifier
    • setEnclosingScope

      public void setEnclosingScope(IMCStatementsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTArrayDimensionSpecifier
    • 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