Class ASTBackReference

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ASTBackReference()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ASTBackReference _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.
      ASTBackReference deepClone()  
      ASTBackReference deepClone​(ASTBackReference 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 equalsWithComments​(java.lang.Object o)  
      de.monticore.interpreter.Value evaluate​(de.monticore.interpreter.ModelInterpreter interpreter)  
      de.monticore.interpreter.Value evaluate​(IRegularExpressionsInterpreter interpreter)  
      java.lang.String getBackReferenceStart()  
      java.lang.String getBackslash()  
      IRegularExpressionsScope getEnclosingScope()  
      java.lang.String getName()  
      java.lang.String getNamedCapturingGroupEnd()  
      ASTNamedCapturingGroup getNameDefinition()  
      NamedCapturingGroupSymbol getNameSymbol()  
      java.lang.String getSingleDigit()  
      boolean isPresentBackReferenceStart()  
      boolean isPresentName()  
      boolean isPresentNamedCapturingGroupEnd()  
      boolean isPresentNameDefinition()  
      boolean isPresentNameSymbol()  
      boolean isPresentSingleDigit()  
      void setBackReferenceStart​(java.lang.String backReferenceStart)  
      void setBackReferenceStartAbsent()  
      void setBackslash​(java.lang.String backslash)  
      void setEnclosingScope​(IMCCommonLiteralsScope enclosingScope)  
      void setEnclosingScope​(IMCLiteralsBasisScope enclosingScope)  
      void setEnclosingScope​(IMCBasicsScope enclosingScope)  
      void setEnclosingScope​(IRegularExpressionsScope enclosingScope)  
      void setName​(java.lang.String name)  
      void setNameAbsent()  
      void setNamedCapturingGroupEnd​(java.lang.String namedCapturingGroupEnd)  
      void setNamedCapturingGroupEndAbsent()  
      void setSingleDigit​(java.lang.String singleDigit)  
      void setSingleDigitAbsent()  
      protected void updateNameSymbol()  
      • 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

      • backslash

        protected java.lang.String backslash
      • singleDigit

        protected java.util.Optional<java.lang.String> singleDigit
      • backReferenceStart

        protected java.util.Optional<java.lang.String> backReferenceStart
      • name

        protected java.util.Optional<java.lang.String> name
      • namedCapturingGroupEnd

        protected java.util.Optional<java.lang.String> namedCapturingGroupEnd
    • Constructor Detail

      • ASTBackReference

        protected ASTBackReference()
    • Method Detail

      • deepEquals

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

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

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

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

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

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

        public ASTBackReference 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
      • getBackslash

        public java.lang.String getBackslash()
      • getSingleDigit

        public java.lang.String getSingleDigit()
      • isPresentSingleDigit

        public boolean isPresentSingleDigit()
      • getBackReferenceStart

        public java.lang.String getBackReferenceStart()
      • isPresentBackReferenceStart

        public boolean isPresentBackReferenceStart()
      • getName

        public java.lang.String getName()
      • isPresentName

        public boolean isPresentName()
      • getNamedCapturingGroupEnd

        public java.lang.String getNamedCapturingGroupEnd()
      • isPresentNamedCapturingGroupEnd

        public boolean isPresentNamedCapturingGroupEnd()
      • setBackslash

        public void setBackslash​(java.lang.String backslash)
      • setSingleDigit

        public void setSingleDigit​(java.lang.String singleDigit)
      • setSingleDigitAbsent

        public void setSingleDigitAbsent()
      • setBackReferenceStart

        public void setBackReferenceStart​(java.lang.String backReferenceStart)
      • setBackReferenceStartAbsent

        public void setBackReferenceStartAbsent()
      • setName

        public void setName​(java.lang.String name)
      • setNameAbsent

        public void setNameAbsent()
      • setNamedCapturingGroupEnd

        public void setNamedCapturingGroupEnd​(java.lang.String namedCapturingGroupEnd)
      • setNamedCapturingGroupEndAbsent

        public void setNamedCapturingGroupEndAbsent()
      • 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
      • isPresentNameSymbol

        public boolean isPresentNameSymbol()
      • updateNameSymbol

        protected void updateNameSymbol()
      • isPresentNameDefinition

        public boolean isPresentNameDefinition()
      • evaluate

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