Class ASTSwitchBlockStatementGroup

    • Constructor Detail

      • ASTSwitchBlockStatementGroup

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

        public boolean containsSwitchLabel​(java.lang.Object element)
      • containsAllSwitchLabels

        public boolean containsAllSwitchLabels​(java.util.Collection<?> collection)
      • isEmptySwitchLabels

        public boolean isEmptySwitchLabels()
      • iteratorSwitchLabels

        public java.util.Iterator<ASTSwitchLabel> iteratorSwitchLabels()
      • sizeSwitchLabels

        public int sizeSwitchLabels()
      • toArraySwitchLabels

        public java.lang.Object[] toArraySwitchLabels()
      • spliteratorSwitchLabels

        public java.util.Spliterator<ASTSwitchLabel> spliteratorSwitchLabels()
      • streamSwitchLabels

        public java.util.stream.Stream<ASTSwitchLabel> streamSwitchLabels()
      • parallelStreamSwitchLabels

        public java.util.stream.Stream<ASTSwitchLabel> parallelStreamSwitchLabels()
      • getSwitchLabel

        public ASTSwitchLabel getSwitchLabel​(int index)
      • indexOfSwitchLabel

        public int indexOfSwitchLabel​(java.lang.Object element)
      • lastIndexOfSwitchLabel

        public int lastIndexOfSwitchLabel​(java.lang.Object element)
      • equalsSwitchLabels

        public boolean equalsSwitchLabels​(java.lang.Object o)
      • hashCodeSwitchLabels

        public int hashCodeSwitchLabels()
      • listIteratorSwitchLabels

        public java.util.ListIterator<ASTSwitchLabel> listIteratorSwitchLabels()
      • listIteratorSwitchLabels

        public java.util.ListIterator<ASTSwitchLabel> listIteratorSwitchLabels​(int index)
      • subListSwitchLabels

        public java.util.List<ASTSwitchLabel> subListSwitchLabels​(int start,
                                                                  int end)
      • getSwitchLabelList

        public java.util.List<ASTSwitchLabel> getSwitchLabelList()
      • containsMCBlockStatement

        public boolean containsMCBlockStatement​(java.lang.Object element)
      • containsAllMCBlockStatements

        public boolean containsAllMCBlockStatements​(java.util.Collection<?> collection)
      • isEmptyMCBlockStatements

        public boolean isEmptyMCBlockStatements()
      • iteratorMCBlockStatements

        public java.util.Iterator<ASTMCBlockStatement> iteratorMCBlockStatements()
      • sizeMCBlockStatements

        public int sizeMCBlockStatements()
      • toArrayMCBlockStatements

        public java.lang.Object[] toArrayMCBlockStatements()
      • spliteratorMCBlockStatements

        public java.util.Spliterator<ASTMCBlockStatement> spliteratorMCBlockStatements()
      • streamMCBlockStatements

        public java.util.stream.Stream<ASTMCBlockStatement> streamMCBlockStatements()
      • parallelStreamMCBlockStatements

        public java.util.stream.Stream<ASTMCBlockStatement> parallelStreamMCBlockStatements()
      • indexOfMCBlockStatement

        public int indexOfMCBlockStatement​(java.lang.Object element)
      • lastIndexOfMCBlockStatement

        public int lastIndexOfMCBlockStatement​(java.lang.Object element)
      • equalsMCBlockStatements

        public boolean equalsMCBlockStatements​(java.lang.Object o)
      • hashCodeMCBlockStatements

        public int hashCodeMCBlockStatements()
      • listIteratorMCBlockStatements

        public java.util.ListIterator<ASTMCBlockStatement> listIteratorMCBlockStatements()
      • listIteratorMCBlockStatements

        public java.util.ListIterator<ASTMCBlockStatement> listIteratorMCBlockStatements​(int index)
      • subListMCBlockStatements

        public java.util.List<ASTMCBlockStatement> subListMCBlockStatements​(int start,
                                                                            int end)
      • getMCBlockStatementList

        public java.util.List<ASTMCBlockStatement> getMCBlockStatementList()
      • clearSwitchLabels

        public void clearSwitchLabels()
      • addSwitchLabel

        public boolean addSwitchLabel​(ASTSwitchLabel element)
      • addAllSwitchLabels

        public boolean addAllSwitchLabels​(java.util.Collection<? extends ASTSwitchLabel> collection)
      • removeSwitchLabel

        public boolean removeSwitchLabel​(java.lang.Object element)
      • removeAllSwitchLabels

        public boolean removeAllSwitchLabels​(java.util.Collection<?> collection)
      • retainAllSwitchLabels

        public boolean retainAllSwitchLabels​(java.util.Collection<?> collection)
      • removeIfSwitchLabel

        public boolean removeIfSwitchLabel​(java.util.function.Predicate<? super ASTSwitchLabel> filter)
      • forEachSwitchLabels

        public void forEachSwitchLabels​(java.util.function.Consumer<? super ASTSwitchLabel> action)
      • addSwitchLabel

        public void addSwitchLabel​(int index,
                                   ASTSwitchLabel element)
      • addAllSwitchLabels

        public boolean addAllSwitchLabels​(int index,
                                          java.util.Collection<? extends ASTSwitchLabel> collection)
      • removeSwitchLabel

        public ASTSwitchLabel removeSwitchLabel​(int index)
      • replaceAllSwitchLabels

        public void replaceAllSwitchLabels​(java.util.function.UnaryOperator<ASTSwitchLabel> operator)
      • sortSwitchLabels

        public void sortSwitchLabels​(java.util.Comparator<? super ASTSwitchLabel> comparator)
      • setSwitchLabelList

        public void setSwitchLabelList​(java.util.List<ASTSwitchLabel> switchLabels)
      • clearMCBlockStatements

        public void clearMCBlockStatements()
      • addAllMCBlockStatements

        public boolean addAllMCBlockStatements​(java.util.Collection<? extends ASTMCBlockStatement> collection)
      • removeMCBlockStatement

        public boolean removeMCBlockStatement​(java.lang.Object element)
      • removeAllMCBlockStatements

        public boolean removeAllMCBlockStatements​(java.util.Collection<?> collection)
      • retainAllMCBlockStatements

        public boolean retainAllMCBlockStatements​(java.util.Collection<?> collection)
      • removeIfMCBlockStatement

        public boolean removeIfMCBlockStatement​(java.util.function.Predicate<? super ASTMCBlockStatement> filter)
      • forEachMCBlockStatements

        public void forEachMCBlockStatements​(java.util.function.Consumer<? super ASTMCBlockStatement> action)
      • addMCBlockStatement

        public void addMCBlockStatement​(int index,
                                        ASTMCBlockStatement element)
      • addAllMCBlockStatements

        public boolean addAllMCBlockStatements​(int index,
                                               java.util.Collection<? extends ASTMCBlockStatement> collection)
      • replaceAllMCBlockStatements

        public void replaceAllMCBlockStatements​(java.util.function.UnaryOperator<ASTMCBlockStatement> operator)
      • sortMCBlockStatements

        public void sortMCBlockStatements​(java.util.Comparator<? super ASTMCBlockStatement> comparator)
      • setMCBlockStatementList

        public void setMCBlockStatementList​(java.util.List<ASTMCBlockStatement> mCBlockStatements)
      • 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​(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​(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
      • getEnclosingScope

        public IMCCommonStatementsScope getEnclosingScope()
        Specified by:
        getEnclosingScope in interface de.monticore.ast.ASTNode
      • 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