Class ASTBackReference

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

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

  • Constructor Details

    • ASTBackReference

      protected ASTBackReference()
  • 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 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
    • 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 ASTBackReference deepClone(ASTBackReference result)
    • getBackslash

      public String getBackslash()
    • getSingleDigit

      public String getSingleDigit()
    • isPresentSingleDigit

      public boolean isPresentSingleDigit()
    • getBackReferenceStart

      public String getBackReferenceStart()
    • isPresentBackReferenceStart

      public boolean isPresentBackReferenceStart()
    • getName

      public String getName()
    • isPresentName

      public boolean isPresentName()
    • getNamedCapturingGroupEnd

      public String getNamedCapturingGroupEnd()
    • isPresentNamedCapturingGroupEnd

      public boolean isPresentNamedCapturingGroupEnd()
    • setBackslash

      public void setBackslash(String backslash)
    • setSingleDigit

      public void setSingleDigit(String singleDigit)
    • setSingleDigitAbsent

      public void setSingleDigitAbsent()
    • setBackReferenceStart

      public void setBackReferenceStart(String backReferenceStart)
    • setBackReferenceStartAbsent

      public void setBackReferenceStartAbsent()
    • setName

      public void setName(String name)
    • setNameAbsent

      public void setNameAbsent()
    • setNamedCapturingGroupEnd

      public void setNamedCapturingGroupEnd(String namedCapturingGroupEnd)
    • setNamedCapturingGroupEndAbsent

      public void setNamedCapturingGroupEndAbsent()
    • 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 ASTBackReference _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
    • getNameSymbol

      public NamedCapturingGroupSymbol getNameSymbol()
    • isPresentNameSymbol

      public boolean isPresentNameSymbol()
    • updateNameSymbol

      protected void updateNameSymbol()
    • getNameDefinition

      public ASTNamedCapturingGroup getNameDefinition()
    • isPresentNameDefinition

      public boolean isPresentNameDefinition()