Class ASTSwitchBlockStatementGroup

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.statements.mccommonstatements._ast.ASTSwitchBlockStatementGroup
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTMCCommonStatementsNode, Cloneable

public class ASTSwitchBlockStatementGroup extends de.monticore.ast.ASTCNode implements ASTMCCommonStatementsNode
  • Field Details

  • Constructor Details

    • ASTSwitchBlockStatementGroup

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

    • containsSwitchLabel

      public boolean containsSwitchLabel(Object element)
    • containsAllSwitchLabels

      public boolean containsAllSwitchLabels(Collection<?> collection)
    • isEmptySwitchLabels

      public boolean isEmptySwitchLabels()
    • iteratorSwitchLabels

      public Iterator<ASTSwitchLabel> iteratorSwitchLabels()
    • sizeSwitchLabels

      public int sizeSwitchLabels()
    • toArraySwitchLabels

      public ASTSwitchLabel[] toArraySwitchLabels(ASTSwitchLabel[] array)
    • toArraySwitchLabels

      public Object[] toArraySwitchLabels()
    • spliteratorSwitchLabels

      public Spliterator<ASTSwitchLabel> spliteratorSwitchLabels()
    • streamSwitchLabels

      public Stream<ASTSwitchLabel> streamSwitchLabels()
    • parallelStreamSwitchLabels

      public Stream<ASTSwitchLabel> parallelStreamSwitchLabels()
    • getSwitchLabel

      public ASTSwitchLabel getSwitchLabel(int index)
    • indexOfSwitchLabel

      public int indexOfSwitchLabel(Object element)
    • lastIndexOfSwitchLabel

      public int lastIndexOfSwitchLabel(Object element)
    • equalsSwitchLabels

      public boolean equalsSwitchLabels(Object o)
    • hashCodeSwitchLabels

      public int hashCodeSwitchLabels()
    • listIteratorSwitchLabels

      public ListIterator<ASTSwitchLabel> listIteratorSwitchLabels()
    • listIteratorSwitchLabels

      public ListIterator<ASTSwitchLabel> listIteratorSwitchLabels(int index)
    • subListSwitchLabels

      public List<ASTSwitchLabel> subListSwitchLabels(int start, int end)
    • getSwitchLabelList

      public List<ASTSwitchLabel> getSwitchLabelList()
    • containsMCBlockStatement

      public boolean containsMCBlockStatement(Object element)
    • containsAllMCBlockStatements

      public boolean containsAllMCBlockStatements(Collection<?> collection)
    • isEmptyMCBlockStatements

      public boolean isEmptyMCBlockStatements()
    • iteratorMCBlockStatements

      public Iterator<ASTMCBlockStatement> iteratorMCBlockStatements()
    • sizeMCBlockStatements

      public int sizeMCBlockStatements()
    • toArrayMCBlockStatements

      public ASTMCBlockStatement[] toArrayMCBlockStatements(ASTMCBlockStatement[] array)
    • toArrayMCBlockStatements

      public Object[] toArrayMCBlockStatements()
    • spliteratorMCBlockStatements

      public Spliterator<ASTMCBlockStatement> spliteratorMCBlockStatements()
    • streamMCBlockStatements

      public Stream<ASTMCBlockStatement> streamMCBlockStatements()
    • parallelStreamMCBlockStatements

      public Stream<ASTMCBlockStatement> parallelStreamMCBlockStatements()
    • getMCBlockStatement

      public ASTMCBlockStatement getMCBlockStatement(int index)
    • indexOfMCBlockStatement

      public int indexOfMCBlockStatement(Object element)
    • lastIndexOfMCBlockStatement

      public int lastIndexOfMCBlockStatement(Object element)
    • equalsMCBlockStatements

      public boolean equalsMCBlockStatements(Object o)
    • hashCodeMCBlockStatements

      public int hashCodeMCBlockStatements()
    • listIteratorMCBlockStatements

      public ListIterator<ASTMCBlockStatement> listIteratorMCBlockStatements()
    • listIteratorMCBlockStatements

      public ListIterator<ASTMCBlockStatement> listIteratorMCBlockStatements(int index)
    • subListMCBlockStatements

      public List<ASTMCBlockStatement> subListMCBlockStatements(int start, int end)
    • getMCBlockStatementList

      public List<ASTMCBlockStatement> getMCBlockStatementList()
    • clearSwitchLabels

      public void clearSwitchLabels()
    • addSwitchLabel

      public boolean addSwitchLabel(ASTSwitchLabel element)
    • addAllSwitchLabels

      public boolean addAllSwitchLabels(Collection<? extends ASTSwitchLabel> collection)
    • removeSwitchLabel

      public boolean removeSwitchLabel(Object element)
    • removeAllSwitchLabels

      public boolean removeAllSwitchLabels(Collection<?> collection)
    • retainAllSwitchLabels

      public boolean retainAllSwitchLabels(Collection<?> collection)
    • removeIfSwitchLabel

      public boolean removeIfSwitchLabel(Predicate<? super ASTSwitchLabel> filter)
    • forEachSwitchLabels

      public void forEachSwitchLabels(Consumer<? super ASTSwitchLabel> action)
    • addSwitchLabel

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

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

      public ASTSwitchLabel removeSwitchLabel(int index)
    • setSwitchLabel

      public ASTSwitchLabel setSwitchLabel(int index, ASTSwitchLabel element)
    • replaceAllSwitchLabels

      public void replaceAllSwitchLabels(UnaryOperator<ASTSwitchLabel> operator)
    • sortSwitchLabels

      public void sortSwitchLabels(Comparator<? super ASTSwitchLabel> comparator)
    • setSwitchLabelList

      public void setSwitchLabelList(List<ASTSwitchLabel> switchLabels)
    • clearMCBlockStatements

      public void clearMCBlockStatements()
    • addMCBlockStatement

      public boolean addMCBlockStatement(ASTMCBlockStatement element)
    • addAllMCBlockStatements

      public boolean addAllMCBlockStatements(Collection<? extends ASTMCBlockStatement> collection)
    • removeMCBlockStatement

      public boolean removeMCBlockStatement(Object element)
    • removeAllMCBlockStatements

      public boolean removeAllMCBlockStatements(Collection<?> collection)
    • retainAllMCBlockStatements

      public boolean retainAllMCBlockStatements(Collection<?> collection)
    • removeIfMCBlockStatement

      public boolean removeIfMCBlockStatement(Predicate<? super ASTMCBlockStatement> filter)
    • forEachMCBlockStatements

      public void forEachMCBlockStatements(Consumer<? super ASTMCBlockStatement> action)
    • addMCBlockStatement

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

      public boolean addAllMCBlockStatements(int index, Collection<? extends ASTMCBlockStatement> collection)
    • removeMCBlockStatement

      public ASTMCBlockStatement removeMCBlockStatement(int index)
    • setMCBlockStatement

      public ASTMCBlockStatement setMCBlockStatement(int index, ASTMCBlockStatement element)
    • replaceAllMCBlockStatements

      public void replaceAllMCBlockStatements(UnaryOperator<ASTMCBlockStatement> operator)
    • sortMCBlockStatements

      public void sortMCBlockStatements(Comparator<? super ASTMCBlockStatement> comparator)
    • setMCBlockStatementList

      public void setMCBlockStatementList(List<ASTMCBlockStatement> mCBlockStatements)
    • accept

      public void accept(MCCommonStatementsTraverser visitor)
      Entry point for the Visitor pattern. Cf. MontiCore handbook chapter 8.
      Specified by:
      accept in interface ASTMCCommonStatementsNode
      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(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
    • _construct

      protected ASTSwitchBlockStatementGroup _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IMCCommonStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCVarDeclarationStatementsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCStatementsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicTypesScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IExpressionsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IOOSymbolsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IBasicSymbolsScope enclosingScope)