Class ASTTryStatement2

    • Constructor Detail

      • ASTTryStatement2

        protected ASTTryStatement2()
    • Method Detail

      • deepEquals

        public boolean deepEquals​(java.lang.Object o,
                                  boolean forceSameOrder)
        Specified by:
        deepEquals in interface ASTMCBlockStatement
        Specified by:
        deepEquals in interface ASTMCStatement
        Specified by:
        deepEquals in interface de.monticore.ast.ASTNode
      • containsCatchClause

        public boolean containsCatchClause​(java.lang.Object element)
      • containsAllCatchClauses

        public boolean containsAllCatchClauses​(java.util.Collection<?> collection)
      • isEmptyCatchClauses

        public boolean isEmptyCatchClauses()
      • iteratorCatchClauses

        public java.util.Iterator<ASTCatchClause> iteratorCatchClauses()
      • sizeCatchClauses

        public int sizeCatchClauses()
      • toArrayCatchClauses

        public java.lang.Object[] toArrayCatchClauses()
      • spliteratorCatchClauses

        public java.util.Spliterator<ASTCatchClause> spliteratorCatchClauses()
      • streamCatchClauses

        public java.util.stream.Stream<ASTCatchClause> streamCatchClauses()
      • parallelStreamCatchClauses

        public java.util.stream.Stream<ASTCatchClause> parallelStreamCatchClauses()
      • getCatchClause

        public ASTCatchClause getCatchClause​(int index)
      • indexOfCatchClause

        public int indexOfCatchClause​(java.lang.Object element)
      • lastIndexOfCatchClause

        public int lastIndexOfCatchClause​(java.lang.Object element)
      • equalsCatchClauses

        public boolean equalsCatchClauses​(java.lang.Object o)
      • hashCodeCatchClauses

        public int hashCodeCatchClauses()
      • listIteratorCatchClauses

        public java.util.ListIterator<ASTCatchClause> listIteratorCatchClauses()
      • listIteratorCatchClauses

        public java.util.ListIterator<ASTCatchClause> listIteratorCatchClauses​(int index)
      • subListCatchClauses

        public java.util.List<ASTCatchClause> subListCatchClauses​(int start,
                                                                  int end)
      • getCatchClauseList

        public java.util.List<ASTCatchClause> getCatchClauseList()
      • clearCatchClauses

        public void clearCatchClauses()
      • addCatchClause

        public boolean addCatchClause​(ASTCatchClause element)
      • addAllCatchClauses

        public boolean addAllCatchClauses​(java.util.Collection<? extends ASTCatchClause> collection)
      • removeCatchClause

        public boolean removeCatchClause​(java.lang.Object element)
      • removeAllCatchClauses

        public boolean removeAllCatchClauses​(java.util.Collection<?> collection)
      • retainAllCatchClauses

        public boolean retainAllCatchClauses​(java.util.Collection<?> collection)
      • removeIfCatchClause

        public boolean removeIfCatchClause​(java.util.function.Predicate<? super ASTCatchClause> filter)
      • forEachCatchClauses

        public void forEachCatchClauses​(java.util.function.Consumer<? super ASTCatchClause> action)
      • addCatchClause

        public void addCatchClause​(int index,
                                   ASTCatchClause element)
      • addAllCatchClauses

        public boolean addAllCatchClauses​(int index,
                                          java.util.Collection<? extends ASTCatchClause> collection)
      • removeCatchClause

        public ASTCatchClause removeCatchClause​(int index)
      • replaceAllCatchClauses

        public void replaceAllCatchClauses​(java.util.function.UnaryOperator<ASTCatchClause> operator)
      • sortCatchClauses

        public void sortCatchClauses​(java.util.Comparator<? super ASTCatchClause> comparator)
      • setCatchClauseList

        public void setCatchClauseList​(java.util.List<ASTCatchClause> catchClauses)
      • 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​(MCVarDeclarationStatementsTraverser 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​(ExpressionsBasisTraverser 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​(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​(BasicSymbolsTraverser 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
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicTypesScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IOOSymbolsScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicsScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IBasicSymbolsScope enclosingScope)
      • evaluate

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