Class ASTRegularExpression

    • Constructor Detail

      • ASTRegularExpression

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

        public boolean isPresentLeft()
      • getPipe

        public java.lang.String getPipe()
      • isPresentPipe

        public boolean isPresentPipe()
      • isPresentRight

        public boolean isPresentRight()
      • containsRegExItem

        public boolean containsRegExItem​(java.lang.Object element)
      • containsAllRegExItems

        public boolean containsAllRegExItems​(java.util.Collection<?> collection)
      • isEmptyRegExItems

        public boolean isEmptyRegExItems()
      • iteratorRegExItems

        public java.util.Iterator<ASTRegExItem> iteratorRegExItems()
      • sizeRegExItems

        public int sizeRegExItems()
      • toArrayRegExItems

        public java.lang.Object[] toArrayRegExItems()
      • spliteratorRegExItems

        public java.util.Spliterator<ASTRegExItem> spliteratorRegExItems()
      • streamRegExItems

        public java.util.stream.Stream<ASTRegExItem> streamRegExItems()
      • parallelStreamRegExItems

        public java.util.stream.Stream<ASTRegExItem> parallelStreamRegExItems()
      • getRegExItem

        public ASTRegExItem getRegExItem​(int index)
      • indexOfRegExItem

        public int indexOfRegExItem​(java.lang.Object element)
      • lastIndexOfRegExItem

        public int lastIndexOfRegExItem​(java.lang.Object element)
      • equalsRegExItems

        public boolean equalsRegExItems​(java.lang.Object o)
      • hashCodeRegExItems

        public int hashCodeRegExItems()
      • listIteratorRegExItems

        public java.util.ListIterator<ASTRegExItem> listIteratorRegExItems()
      • listIteratorRegExItems

        public java.util.ListIterator<ASTRegExItem> listIteratorRegExItems​(int index)
      • subListRegExItems

        public java.util.List<ASTRegExItem> subListRegExItems​(int start,
                                                              int end)
      • getRegExItemList

        public java.util.List<ASTRegExItem> getRegExItemList()
      • setLeftAbsent

        public void setLeftAbsent()
      • setPipe

        public void setPipe​(java.lang.String pipe)
      • setPipeAbsent

        public void setPipeAbsent()
      • setRightAbsent

        public void setRightAbsent()
      • clearRegExItems

        public void clearRegExItems()
      • addRegExItem

        public boolean addRegExItem​(ASTRegExItem element)
      • addAllRegExItems

        public boolean addAllRegExItems​(java.util.Collection<? extends ASTRegExItem> collection)
      • removeRegExItem

        public boolean removeRegExItem​(java.lang.Object element)
      • removeAllRegExItems

        public boolean removeAllRegExItems​(java.util.Collection<?> collection)
      • retainAllRegExItems

        public boolean retainAllRegExItems​(java.util.Collection<?> collection)
      • removeIfRegExItem

        public boolean removeIfRegExItem​(java.util.function.Predicate<? super ASTRegExItem> filter)
      • forEachRegExItems

        public void forEachRegExItems​(java.util.function.Consumer<? super ASTRegExItem> action)
      • addRegExItem

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

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

        public ASTRegExItem removeRegExItem​(int index)
      • replaceAllRegExItems

        public void replaceAllRegExItems​(java.util.function.UnaryOperator<ASTRegExItem> operator)
      • sortRegExItems

        public void sortRegExItems​(java.util.Comparator<? super ASTRegExItem> comparator)
      • setRegExItemList

        public void setRegExItemList​(java.util.List<ASTRegExItem> regExItems)
      • 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
      • getEnclosingScope

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

        public void setEnclosingScope​(IMCBasicsScope enclosingScope)
      • evaluate

        public de.monticore.interpreter.Value evaluate​(de.monticore.interpreter.ModelInterpreter interpreter)
        Specified by:
        evaluate in interface de.monticore.ast.ASTNode