Class ASTRangeQualification

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String comma  
      protected IRegularExpressionsScope enclosingScope  
      protected java.lang.String lCurly  
      protected java.util.List<java.lang.String> lowerBound  
      protected java.lang.String rCurly  
      protected java.util.List<java.lang.String> upperBound  
      • Fields inherited from class de.monticore.ast.ASTCNode

        end, postcomments, precomments, start
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ASTRangeQualification _construct()  
      void accept​(MCCommonLiteralsTraverser visitor)
      Entry point for the Visitor pattern.
      void accept​(MCLiteralsBasisTraverser visitor)
      Entry point for the Visitor pattern.
      void accept​(MCBasicsTraverser visitor)
      Entry point for the Visitor pattern.
      void accept​(RegularExpressionsTraverser visitor)
      Entry point for the Visitor pattern.
      void accept​(de.monticore.visitor.ITraverser visitor)
      Entry point for the Visitor pattern.
      boolean addAllLowerBound​(int index, java.util.Collection<? extends java.lang.String> collection)  
      boolean addAllLowerBound​(java.util.Collection<? extends java.lang.String> collection)  
      boolean addAllUpperBound​(int index, java.util.Collection<? extends java.lang.String> collection)  
      boolean addAllUpperBound​(java.util.Collection<? extends java.lang.String> collection)  
      void addLowerBound​(int index, java.lang.String element)  
      boolean addLowerBound​(java.lang.String element)  
      void addUpperBound​(int index, java.lang.String element)  
      boolean addUpperBound​(java.lang.String element)  
      void clearLowerBound()  
      void clearUpperBound()  
      boolean containsAllLowerBound​(java.util.Collection<?> collection)  
      boolean containsAllUpperBound​(java.util.Collection<?> collection)  
      boolean containsLowerBound​(java.lang.Object element)  
      boolean containsUpperBound​(java.lang.Object element)  
      ASTRangeQualification deepClone()  
      ASTRangeQualification deepClone​(ASTRangeQualification result)  
      boolean deepEquals​(java.lang.Object o)  
      boolean deepEquals​(java.lang.Object o, boolean forceSameOrder)  
      boolean deepEqualsWithComments​(java.lang.Object o)  
      boolean deepEqualsWithComments​(java.lang.Object o, boolean forceSameOrder)  
      boolean equalAttributes​(java.lang.Object o)  
      boolean equalsLowerBound​(java.lang.Object o)  
      boolean equalsUpperBound​(java.lang.Object o)  
      boolean equalsWithComments​(java.lang.Object o)  
      de.monticore.interpreter.Value evaluate​(de.monticore.interpreter.ModelInterpreter interpreter)  
      de.monticore.interpreter.Value evaluate​(IRegularExpressionsInterpreter interpreter)  
      void forEachLowerBound​(java.util.function.Consumer<? super java.lang.String> action)  
      void forEachUpperBound​(java.util.function.Consumer<? super java.lang.String> action)  
      java.lang.String getComma()  
      IRegularExpressionsScope getEnclosingScope()  
      java.lang.String getLCurly()  
      java.lang.String getLowerBound​(int index)  
      java.util.List<java.lang.String> getLowerBoundList()  
      java.lang.String getRCurly()  
      java.lang.String getUpperBound​(int index)  
      java.util.List<java.lang.String> getUpperBoundList()  
      int hashCodeLowerBound()  
      int hashCodeUpperBound()  
      int indexOfLowerBound​(java.lang.Object element)  
      int indexOfUpperBound​(java.lang.Object element)  
      boolean isEmptyLowerBound()  
      boolean isEmptyUpperBound()  
      java.util.Iterator<java.lang.String> iteratorLowerBound()  
      java.util.Iterator<java.lang.String> iteratorUpperBound()  
      int lastIndexOfLowerBound​(java.lang.Object element)  
      int lastIndexOfUpperBound​(java.lang.Object element)  
      java.util.ListIterator<java.lang.String> listIteratorLowerBound()  
      java.util.ListIterator<java.lang.String> listIteratorLowerBound​(int index)  
      java.util.ListIterator<java.lang.String> listIteratorUpperBound()  
      java.util.ListIterator<java.lang.String> listIteratorUpperBound​(int index)  
      java.util.stream.Stream<java.lang.String> parallelStreamLowerBound()  
      java.util.stream.Stream<java.lang.String> parallelStreamUpperBound()  
      boolean removeAllLowerBound​(java.util.Collection<?> collection)  
      boolean removeAllUpperBound​(java.util.Collection<?> collection)  
      boolean removeIfLowerBound​(java.util.function.Predicate<? super java.lang.String> filter)  
      boolean removeIfUpperBound​(java.util.function.Predicate<? super java.lang.String> filter)  
      java.lang.String removeLowerBound​(int index)  
      boolean removeLowerBound​(java.lang.Object element)  
      java.lang.String removeUpperBound​(int index)  
      boolean removeUpperBound​(java.lang.Object element)  
      void replaceAllLowerBound​(java.util.function.UnaryOperator<java.lang.String> operator)  
      void replaceAllUpperBound​(java.util.function.UnaryOperator<java.lang.String> operator)  
      boolean retainAllLowerBound​(java.util.Collection<?> collection)  
      boolean retainAllUpperBound​(java.util.Collection<?> collection)  
      void setComma​(java.lang.String comma)  
      void setEnclosingScope​(IMCCommonLiteralsScope enclosingScope)  
      void setEnclosingScope​(IMCLiteralsBasisScope enclosingScope)  
      void setEnclosingScope​(IMCBasicsScope enclosingScope)  
      void setEnclosingScope​(IRegularExpressionsScope enclosingScope)  
      void setLCurly​(java.lang.String lCurly)  
      java.lang.String setLowerBound​(int index, java.lang.String element)  
      void setLowerBoundList​(java.util.List<java.lang.String> lowerBound)  
      void setRCurly​(java.lang.String rCurly)  
      java.lang.String setUpperBound​(int index, java.lang.String element)  
      void setUpperBoundList​(java.util.List<java.lang.String> upperBound)  
      int sizeLowerBound()  
      int sizeUpperBound()  
      void sortLowerBound​(java.util.Comparator<? super java.lang.String> comparator)  
      void sortUpperBound​(java.util.Comparator<? super java.lang.String> comparator)  
      java.util.Spliterator<java.lang.String> spliteratorLowerBound()  
      java.util.Spliterator<java.lang.String> spliteratorUpperBound()  
      java.util.stream.Stream<java.lang.String> streamLowerBound()  
      java.util.stream.Stream<java.lang.String> streamUpperBound()  
      java.util.List<java.lang.String> subListLowerBound​(int start, int end)  
      java.util.List<java.lang.String> subListUpperBound​(int start, int end)  
      java.lang.Object[] toArrayLowerBound()  
      java.lang.String[] toArrayLowerBound​(java.lang.String[] array)  
      java.lang.Object[] toArrayUpperBound()  
      java.lang.String[] toArrayUpperBound​(java.lang.String[] array)  
      • Methods inherited from class de.monticore.ast.ASTCNode

        add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.monticore.ast.ASTNode

        add_PostComment, add_PostComment, add_PreComment, add_PreComment, addAll_PostComments, addAll_PostComments, addAll_PreComments, addAll_PreComments, clear_PostComments, clear_PreComments, contains_PostComment, contains_PreComment, containsAll_PostComments, containsAll_PreComments, equals_PostComments, equals_PreComments, forEach_PostComments, forEach_PreComments, get_PostComment, get_PostCommentList, get_PreComment, get_PreCommentList, get_SourcePositionEnd, get_SourcePositionStart, hashCode_PostComments, hashCode_PreComments, indexOf_PostComment, indexOf_PreComment, isEmpty_PostComments, isEmpty_PreComments, isPresent_SourcePositionEnd, isPresent_SourcePositionStart, iterator_PostComments, iterator_PreComments, lastIndexOf_PostComment, lastIndexOf_PreComment, listIterator_PostComments, listIterator_PostComments, listIterator_PreComments, listIterator_PreComments, parallelStream_PostComments, parallelStream_PreComments, remove_PostComment, remove_PostComment, remove_PreComment, remove_PreComment, removeAll_PostComments, removeAll_PreComments, removeIf_PostComment, removeIf_PreComment, replaceAll_PostComments, replaceAll_PreComments, retainAll_PostComments, retainAll_PreComments, set_PostComment, set_PostCommentList, set_PreComment, set_PreCommentList, set_SourcePositionEnd, set_SourcePositionEndAbsent, set_SourcePositionStart, set_SourcePositionStartAbsent, size_PostComments, size_PreComments, sort_PostComments, sort_PreComments, spliterator_PostComments, spliterator_PreComments, stream_PostComments, stream_PreComments, subList_PostComments, subList_PreComments, toArray_PostComments, toArray_PostComments, toArray_PreComments, toArray_PreComments
    • Field Detail

      • lCurly

        protected java.lang.String lCurly
      • lowerBound

        protected java.util.List<java.lang.String> lowerBound
      • comma

        protected java.lang.String comma
      • upperBound

        protected java.util.List<java.lang.String> upperBound
      • rCurly

        protected java.lang.String rCurly
    • Constructor Detail

      • ASTRangeQualification

        protected ASTRangeQualification()
    • Method Detail

      • deepEquals

        public boolean deepEquals​(java.lang.Object o)
        Specified by:
        deepEquals in interface de.monticore.ast.ASTNode
        Specified by:
        deepEquals in interface ASTQualification
      • deepEquals

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

        public boolean deepEqualsWithComments​(java.lang.Object o)
        Specified by:
        deepEqualsWithComments in interface de.monticore.ast.ASTNode
        Specified by:
        deepEqualsWithComments in interface ASTQualification
      • deepEqualsWithComments

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

        public boolean equalAttributes​(java.lang.Object o)
        Specified by:
        equalAttributes in interface de.monticore.ast.ASTNode
        Specified by:
        equalAttributes in interface ASTQualification
      • equalsWithComments

        public boolean equalsWithComments​(java.lang.Object o)
        Specified by:
        equalsWithComments in interface de.monticore.ast.ASTNode
        Specified by:
        equalsWithComments in interface ASTQualification
      • deepClone

        public ASTRangeQualification deepClone()
        Specified by:
        deepClone in interface de.monticore.ast.ASTNode
        Specified by:
        deepClone in interface ASTQualification
        Specified by:
        deepClone in class de.monticore.ast.ASTCNode
      • getLCurly

        public java.lang.String getLCurly()
      • containsLowerBound

        public boolean containsLowerBound​(java.lang.Object element)
      • containsAllLowerBound

        public boolean containsAllLowerBound​(java.util.Collection<?> collection)
      • isEmptyLowerBound

        public boolean isEmptyLowerBound()
      • iteratorLowerBound

        public java.util.Iterator<java.lang.String> iteratorLowerBound()
      • sizeLowerBound

        public int sizeLowerBound()
      • toArrayLowerBound

        public java.lang.String[] toArrayLowerBound​(java.lang.String[] array)
      • toArrayLowerBound

        public java.lang.Object[] toArrayLowerBound()
      • spliteratorLowerBound

        public java.util.Spliterator<java.lang.String> spliteratorLowerBound()
      • streamLowerBound

        public java.util.stream.Stream<java.lang.String> streamLowerBound()
      • parallelStreamLowerBound

        public java.util.stream.Stream<java.lang.String> parallelStreamLowerBound()
      • getLowerBound

        public java.lang.String getLowerBound​(int index)
      • indexOfLowerBound

        public int indexOfLowerBound​(java.lang.Object element)
      • lastIndexOfLowerBound

        public int lastIndexOfLowerBound​(java.lang.Object element)
      • equalsLowerBound

        public boolean equalsLowerBound​(java.lang.Object o)
      • hashCodeLowerBound

        public int hashCodeLowerBound()
      • listIteratorLowerBound

        public java.util.ListIterator<java.lang.String> listIteratorLowerBound()
      • listIteratorLowerBound

        public java.util.ListIterator<java.lang.String> listIteratorLowerBound​(int index)
      • subListLowerBound

        public java.util.List<java.lang.String> subListLowerBound​(int start,
                                                                  int end)
      • getLowerBoundList

        public java.util.List<java.lang.String> getLowerBoundList()
      • getComma

        public java.lang.String getComma()
      • containsUpperBound

        public boolean containsUpperBound​(java.lang.Object element)
      • containsAllUpperBound

        public boolean containsAllUpperBound​(java.util.Collection<?> collection)
      • isEmptyUpperBound

        public boolean isEmptyUpperBound()
      • iteratorUpperBound

        public java.util.Iterator<java.lang.String> iteratorUpperBound()
      • sizeUpperBound

        public int sizeUpperBound()
      • toArrayUpperBound

        public java.lang.String[] toArrayUpperBound​(java.lang.String[] array)
      • toArrayUpperBound

        public java.lang.Object[] toArrayUpperBound()
      • spliteratorUpperBound

        public java.util.Spliterator<java.lang.String> spliteratorUpperBound()
      • streamUpperBound

        public java.util.stream.Stream<java.lang.String> streamUpperBound()
      • parallelStreamUpperBound

        public java.util.stream.Stream<java.lang.String> parallelStreamUpperBound()
      • getUpperBound

        public java.lang.String getUpperBound​(int index)
      • indexOfUpperBound

        public int indexOfUpperBound​(java.lang.Object element)
      • lastIndexOfUpperBound

        public int lastIndexOfUpperBound​(java.lang.Object element)
      • equalsUpperBound

        public boolean equalsUpperBound​(java.lang.Object o)
      • hashCodeUpperBound

        public int hashCodeUpperBound()
      • listIteratorUpperBound

        public java.util.ListIterator<java.lang.String> listIteratorUpperBound()
      • listIteratorUpperBound

        public java.util.ListIterator<java.lang.String> listIteratorUpperBound​(int index)
      • subListUpperBound

        public java.util.List<java.lang.String> subListUpperBound​(int start,
                                                                  int end)
      • getUpperBoundList

        public java.util.List<java.lang.String> getUpperBoundList()
      • getRCurly

        public java.lang.String getRCurly()
      • setLCurly

        public void setLCurly​(java.lang.String lCurly)
      • clearLowerBound

        public void clearLowerBound()
      • addLowerBound

        public boolean addLowerBound​(java.lang.String element)
      • addAllLowerBound

        public boolean addAllLowerBound​(java.util.Collection<? extends java.lang.String> collection)
      • removeLowerBound

        public boolean removeLowerBound​(java.lang.Object element)
      • removeAllLowerBound

        public boolean removeAllLowerBound​(java.util.Collection<?> collection)
      • retainAllLowerBound

        public boolean retainAllLowerBound​(java.util.Collection<?> collection)
      • removeIfLowerBound

        public boolean removeIfLowerBound​(java.util.function.Predicate<? super java.lang.String> filter)
      • forEachLowerBound

        public void forEachLowerBound​(java.util.function.Consumer<? super java.lang.String> action)
      • addLowerBound

        public void addLowerBound​(int index,
                                  java.lang.String element)
      • addAllLowerBound

        public boolean addAllLowerBound​(int index,
                                        java.util.Collection<? extends java.lang.String> collection)
      • removeLowerBound

        public java.lang.String removeLowerBound​(int index)
      • setLowerBound

        public java.lang.String setLowerBound​(int index,
                                              java.lang.String element)
      • replaceAllLowerBound

        public void replaceAllLowerBound​(java.util.function.UnaryOperator<java.lang.String> operator)
      • sortLowerBound

        public void sortLowerBound​(java.util.Comparator<? super java.lang.String> comparator)
      • setLowerBoundList

        public void setLowerBoundList​(java.util.List<java.lang.String> lowerBound)
      • setComma

        public void setComma​(java.lang.String comma)
      • clearUpperBound

        public void clearUpperBound()
      • addUpperBound

        public boolean addUpperBound​(java.lang.String element)
      • addAllUpperBound

        public boolean addAllUpperBound​(java.util.Collection<? extends java.lang.String> collection)
      • removeUpperBound

        public boolean removeUpperBound​(java.lang.Object element)
      • removeAllUpperBound

        public boolean removeAllUpperBound​(java.util.Collection<?> collection)
      • retainAllUpperBound

        public boolean retainAllUpperBound​(java.util.Collection<?> collection)
      • removeIfUpperBound

        public boolean removeIfUpperBound​(java.util.function.Predicate<? super java.lang.String> filter)
      • forEachUpperBound

        public void forEachUpperBound​(java.util.function.Consumer<? super java.lang.String> action)
      • addUpperBound

        public void addUpperBound​(int index,
                                  java.lang.String element)
      • addAllUpperBound

        public boolean addAllUpperBound​(int index,
                                        java.util.Collection<? extends java.lang.String> collection)
      • removeUpperBound

        public java.lang.String removeUpperBound​(int index)
      • setUpperBound

        public java.lang.String setUpperBound​(int index,
                                              java.lang.String element)
      • replaceAllUpperBound

        public void replaceAllUpperBound​(java.util.function.UnaryOperator<java.lang.String> operator)
      • sortUpperBound

        public void sortUpperBound​(java.util.Comparator<? super java.lang.String> comparator)
      • setUpperBoundList

        public void setUpperBoundList​(java.util.List<java.lang.String> upperBound)
      • setRCurly

        public void setRCurly​(java.lang.String rCurly)
      • 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
      • evaluate

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