Class ASTThrows

  • All Implemented Interfaces:
    de.monticore.ast.ASTNode, ASTJavaLightNode, java.lang.Cloneable

    public class ASTThrows
    extends de.monticore.ast.ASTCNode
    implements ASTJavaLightNode
    • Constructor Detail

      • ASTThrows

        protected ASTThrows()
    • Method Detail

      • deepEquals

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

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

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

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

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

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

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

        public boolean containsMCQualifiedName​(java.lang.Object element)
      • containsAllMCQualifiedNames

        public boolean containsAllMCQualifiedNames​(java.util.Collection<?> collection)
      • isEmptyMCQualifiedNames

        public boolean isEmptyMCQualifiedNames()
      • iteratorMCQualifiedNames

        public java.util.Iterator<ASTMCQualifiedName> iteratorMCQualifiedNames()
      • sizeMCQualifiedNames

        public int sizeMCQualifiedNames()
      • toArrayMCQualifiedNames

        public java.lang.Object[] toArrayMCQualifiedNames()
      • spliteratorMCQualifiedNames

        public java.util.Spliterator<ASTMCQualifiedName> spliteratorMCQualifiedNames()
      • streamMCQualifiedNames

        public java.util.stream.Stream<ASTMCQualifiedName> streamMCQualifiedNames()
      • parallelStreamMCQualifiedNames

        public java.util.stream.Stream<ASTMCQualifiedName> parallelStreamMCQualifiedNames()
      • indexOfMCQualifiedName

        public int indexOfMCQualifiedName​(java.lang.Object element)
      • lastIndexOfMCQualifiedName

        public int lastIndexOfMCQualifiedName​(java.lang.Object element)
      • equalsMCQualifiedNames

        public boolean equalsMCQualifiedNames​(java.lang.Object o)
      • hashCodeMCQualifiedNames

        public int hashCodeMCQualifiedNames()
      • listIteratorMCQualifiedNames

        public java.util.ListIterator<ASTMCQualifiedName> listIteratorMCQualifiedNames()
      • listIteratorMCQualifiedNames

        public java.util.ListIterator<ASTMCQualifiedName> listIteratorMCQualifiedNames​(int index)
      • subListMCQualifiedNames

        public java.util.List<ASTMCQualifiedName> subListMCQualifiedNames​(int start,
                                                                          int end)
      • getMCQualifiedNameList

        public java.util.List<ASTMCQualifiedName> getMCQualifiedNameList()
      • clearMCQualifiedNames

        public void clearMCQualifiedNames()
      • addAllMCQualifiedNames

        public boolean addAllMCQualifiedNames​(java.util.Collection<? extends ASTMCQualifiedName> collection)
      • removeMCQualifiedName

        public boolean removeMCQualifiedName​(java.lang.Object element)
      • removeAllMCQualifiedNames

        public boolean removeAllMCQualifiedNames​(java.util.Collection<?> collection)
      • retainAllMCQualifiedNames

        public boolean retainAllMCQualifiedNames​(java.util.Collection<?> collection)
      • removeIfMCQualifiedName

        public boolean removeIfMCQualifiedName​(java.util.function.Predicate<? super ASTMCQualifiedName> filter)
      • forEachMCQualifiedNames

        public void forEachMCQualifiedNames​(java.util.function.Consumer<? super ASTMCQualifiedName> action)
      • addMCQualifiedName

        public void addMCQualifiedName​(int index,
                                       ASTMCQualifiedName element)
      • addAllMCQualifiedNames

        public boolean addAllMCQualifiedNames​(int index,
                                              java.util.Collection<? extends ASTMCQualifiedName> collection)
      • replaceAllMCQualifiedNames

        public void replaceAllMCQualifiedNames​(java.util.function.UnaryOperator<ASTMCQualifiedName> operator)
      • sortMCQualifiedNames

        public void sortMCQualifiedNames​(java.util.Comparator<? super ASTMCQualifiedName> comparator)
      • setMCQualifiedNameList

        public void setMCQualifiedNameList​(java.util.List<ASTMCQualifiedName> mCQualifiedNames)
      • 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 ASTThrows _construct()
      • getEnclosingScope

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

        public void setEnclosingScope​(IJavaLightScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicsScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IMCBasicTypesScope enclosingScope)
      • setEnclosingScope

        public void setEnclosingScope​(IOOSymbolsScope 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