Class ASTBracketRegEx

java.lang.Object
de.monticore.ast.ASTCNode
de.monticore.regex.regularexpressions._ast.ASTBracketRegEx
All Implemented Interfaces:
de.monticore.ast.ASTNode, ASTRegExItem, ASTRegularExpressionsNode, Cloneable

public class ASTBracketRegEx extends de.monticore.ast.ASTCNode implements ASTRegExItem, ASTRegularExpressionsNode
  • Field Details

  • Constructor Details

    • ASTBracketRegEx

      protected ASTBracketRegEx()
  • Method Details

    • deepEquals

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

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

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

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

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

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

      public ASTBracketRegEx deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      Specified by:
      deepClone in interface ASTRegExItem
      Specified by:
      deepClone in class de.monticore.ast.ASTCNode
    • replaceChild

      public void replaceChild(de.monticore.ast.ASTNode currentChild, de.monticore.ast.ASTNode replacement)
      Specified by:
      replaceChild in interface de.monticore.ast.ASTNode
    • deepClone

      public ASTBracketRegEx deepClone(ASTBracketRegEx result)
    • getLBrack

      public String getLBrack()
    • getRoof

      public String getRoof()
    • isPresentRoof

      public boolean isPresentRoof()
    • containsBracketRegExItem

      public boolean containsBracketRegExItem(Object element)
    • containsAllBracketRegExItems

      public boolean containsAllBracketRegExItems(Collection<?> collection)
    • isEmptyBracketRegExItems

      public boolean isEmptyBracketRegExItems()
    • iteratorBracketRegExItems

      public Iterator<ASTBracketRegExItem> iteratorBracketRegExItems()
    • sizeBracketRegExItems

      public int sizeBracketRegExItems()
    • toArrayBracketRegExItems

      public ASTBracketRegExItem[] toArrayBracketRegExItems(ASTBracketRegExItem[] array)
    • toArrayBracketRegExItems

      public Object[] toArrayBracketRegExItems()
    • spliteratorBracketRegExItems

      public Spliterator<ASTBracketRegExItem> spliteratorBracketRegExItems()
    • streamBracketRegExItems

      public Stream<ASTBracketRegExItem> streamBracketRegExItems()
    • parallelStreamBracketRegExItems

      public Stream<ASTBracketRegExItem> parallelStreamBracketRegExItems()
    • getBracketRegExItem

      public ASTBracketRegExItem getBracketRegExItem(int index)
    • indexOfBracketRegExItem

      public int indexOfBracketRegExItem(Object element)
    • lastIndexOfBracketRegExItem

      public int lastIndexOfBracketRegExItem(Object element)
    • equalsBracketRegExItems

      public boolean equalsBracketRegExItems(Object o)
    • hashCodeBracketRegExItems

      public int hashCodeBracketRegExItems()
    • listIteratorBracketRegExItems

      public ListIterator<ASTBracketRegExItem> listIteratorBracketRegExItems()
    • listIteratorBracketRegExItems

      public ListIterator<ASTBracketRegExItem> listIteratorBracketRegExItems(int index)
    • subListBracketRegExItems

      public List<ASTBracketRegExItem> subListBracketRegExItems(int start, int end)
    • getBracketRegExItemList

      public List<ASTBracketRegExItem> getBracketRegExItemList()
    • getRBrack

      public String getRBrack()
    • setLBrack

      public void setLBrack(String lBrack)
    • setRoof

      public void setRoof(String roof)
    • setRoofAbsent

      public void setRoofAbsent()
    • clearBracketRegExItems

      public void clearBracketRegExItems()
    • addBracketRegExItem

      public boolean addBracketRegExItem(ASTBracketRegExItem element)
    • addAllBracketRegExItems

      public boolean addAllBracketRegExItems(Collection<? extends ASTBracketRegExItem> collection)
    • removeBracketRegExItem

      public boolean removeBracketRegExItem(Object element)
    • removeAllBracketRegExItems

      public boolean removeAllBracketRegExItems(Collection<?> collection)
    • retainAllBracketRegExItems

      public boolean retainAllBracketRegExItems(Collection<?> collection)
    • removeIfBracketRegExItem

      public boolean removeIfBracketRegExItem(Predicate<? super ASTBracketRegExItem> filter)
    • forEachBracketRegExItems

      public void forEachBracketRegExItems(Consumer<? super ASTBracketRegExItem> action)
    • addBracketRegExItem

      public void addBracketRegExItem(int index, ASTBracketRegExItem element)
    • addAllBracketRegExItems

      public boolean addAllBracketRegExItems(int index, Collection<? extends ASTBracketRegExItem> collection)
    • removeBracketRegExItem

      public ASTBracketRegExItem removeBracketRegExItem(int index)
    • setBracketRegExItem

      public ASTBracketRegExItem setBracketRegExItem(int index, ASTBracketRegExItem element)
    • replaceAllBracketRegExItems

      public void replaceAllBracketRegExItems(UnaryOperator<ASTBracketRegExItem> operator)
    • sortBracketRegExItems

      public void sortBracketRegExItems(Comparator<? super ASTBracketRegExItem> comparator)
    • setBracketRegExItemList

      public void setBracketRegExItemList(List<ASTBracketRegExItem> bracketRegExItems)
    • setRBrack

      public void setRBrack(String rBrack)
    • accept

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

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

      public void setEnclosingScope(IRegularExpressionsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTRegExItem
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTRegExItem
    • setEnclosingScope

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

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