Class ASTRegularExpression

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

public class ASTRegularExpression extends de.monticore.ast.ASTCNode implements ASTRegularExpressionsNode
  • Field Details

  • Constructor Details

    • ASTRegularExpression

      protected ASTRegularExpression()
  • 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 ASTRegularExpression deepClone()
      Specified by:
      deepClone in interface de.monticore.ast.ASTNode
      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 ASTRegularExpression deepClone(ASTRegularExpression result)
    • getLeft

      public ASTRegularExpression getLeft()
    • isPresentLeft

      public boolean isPresentLeft()
    • getPipe

      public String getPipe()
    • isPresentPipe

      public boolean isPresentPipe()
    • getRight

      public ASTRegularExpression getRight()
    • isPresentRight

      public boolean isPresentRight()
    • containsRegExItem

      public boolean containsRegExItem(Object element)
    • containsAllRegExItems

      public boolean containsAllRegExItems(Collection<?> collection)
    • isEmptyRegExItems

      public boolean isEmptyRegExItems()
    • iteratorRegExItems

      public Iterator<ASTRegExItem> iteratorRegExItems()
    • sizeRegExItems

      public int sizeRegExItems()
    • toArrayRegExItems

      public ASTRegExItem[] toArrayRegExItems(ASTRegExItem[] array)
    • toArrayRegExItems

      public Object[] toArrayRegExItems()
    • spliteratorRegExItems

      public Spliterator<ASTRegExItem> spliteratorRegExItems()
    • streamRegExItems

      public Stream<ASTRegExItem> streamRegExItems()
    • parallelStreamRegExItems

      public Stream<ASTRegExItem> parallelStreamRegExItems()
    • getRegExItem

      public ASTRegExItem getRegExItem(int index)
    • indexOfRegExItem

      public int indexOfRegExItem(Object element)
    • lastIndexOfRegExItem

      public int lastIndexOfRegExItem(Object element)
    • equalsRegExItems

      public boolean equalsRegExItems(Object o)
    • hashCodeRegExItems

      public int hashCodeRegExItems()
    • listIteratorRegExItems

      public ListIterator<ASTRegExItem> listIteratorRegExItems()
    • listIteratorRegExItems

      public ListIterator<ASTRegExItem> listIteratorRegExItems(int index)
    • subListRegExItems

      public List<ASTRegExItem> subListRegExItems(int start, int end)
    • getRegExItemList

      public List<ASTRegExItem> getRegExItemList()
    • setLeft

      public void setLeft(ASTRegularExpression left)
    • setLeftAbsent

      public void setLeftAbsent()
    • setPipe

      public void setPipe(String pipe)
    • setPipeAbsent

      public void setPipeAbsent()
    • setRight

      public void setRight(ASTRegularExpression right)
    • setRightAbsent

      public void setRightAbsent()
    • clearRegExItems

      public void clearRegExItems()
    • addRegExItem

      public boolean addRegExItem(ASTRegExItem element)
    • addAllRegExItems

      public boolean addAllRegExItems(Collection<? extends ASTRegExItem> collection)
    • removeRegExItem

      public boolean removeRegExItem(Object element)
    • removeAllRegExItems

      public boolean removeAllRegExItems(Collection<?> collection)
    • retainAllRegExItems

      public boolean retainAllRegExItems(Collection<?> collection)
    • removeIfRegExItem

      public boolean removeIfRegExItem(Predicate<? super ASTRegExItem> filter)
    • forEachRegExItems

      public void forEachRegExItems(Consumer<? super ASTRegExItem> action)
    • addRegExItem

      public void addRegExItem(int index, ASTRegExItem element)
    • addAllRegExItems

      public boolean addAllRegExItems(int index, Collection<? extends ASTRegExItem> collection)
    • removeRegExItem

      public ASTRegExItem removeRegExItem(int index)
    • setRegExItem

      public ASTRegExItem setRegExItem(int index, ASTRegExItem element)
    • replaceAllRegExItems

      public void replaceAllRegExItems(UnaryOperator<ASTRegExItem> operator)
    • sortRegExItems

      public void sortRegExItems(Comparator<? super ASTRegExItem> comparator)
    • setRegExItemList

      public void setRegExItemList(List<ASTRegExItem> regExItems)
    • 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 ASTRegularExpression _construct()
    • getEnclosingScope

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

      public void setEnclosingScope(IRegularExpressionsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)