Class ASTRegExEscapeChar

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

public class ASTRegExEscapeChar extends de.monticore.ast.ASTCNode implements ASTEscapeChar, ASTRegularExpressionsNode
  • Field Details

  • Constructor Details

    • ASTRegExEscapeChar

      protected ASTRegExEscapeChar()
  • Method Details

    • deepEquals

      public boolean deepEquals(Object o)
      Specified by:
      deepEquals in interface ASTEscapeChar
      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 ASTEscapeChar
      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 ASTEscapeChar
      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 ASTEscapeChar
      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 ASTEscapeChar
      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 ASTEscapeChar
      Specified by:
      equalsWithComments in interface de.monticore.ast.ASTNode
      Specified by:
      equalsWithComments in interface ASTRegExItem
    • deepClone

      public ASTRegExEscapeChar deepClone()
      Specified by:
      deepClone in interface ASTEscapeChar
      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 ASTRegExEscapeChar deepClone(ASTRegExEscapeChar result)
    • getAlphaNumCharsWithUnderscoreToken

      public String getAlphaNumCharsWithUnderscoreToken()
    • isPresentAlphaNumCharsWithUnderscoreToken

      public boolean isPresentAlphaNumCharsWithUnderscoreToken()
    • getNonWordCharsToken

      public String getNonWordCharsToken()
    • isPresentNonWordCharsToken

      public boolean isPresentNonWordCharsToken()
    • getWordBoundariesToken

      public String getWordBoundariesToken()
    • isPresentWordBoundariesToken

      public boolean isPresentWordBoundariesToken()
    • getNonWordBoundariesToken

      public String getNonWordBoundariesToken()
    • isPresentNonWordBoundariesToken

      public boolean isPresentNonWordBoundariesToken()
    • getDigitCharsToken

      public String getDigitCharsToken()
    • isPresentDigitCharsToken

      public boolean isPresentDigitCharsToken()
    • getNonDigitCharsToken

      public String getNonDigitCharsToken()
    • isPresentNonDigitCharsToken

      public boolean isPresentNonDigitCharsToken()
    • getWhitespaceCharsToken

      public String getWhitespaceCharsToken()
    • isPresentWhitespaceCharsToken

      public boolean isPresentWhitespaceCharsToken()
    • getNonWhitespaceCharsToken

      public String getNonWhitespaceCharsToken()
    • isPresentNonWhitespaceCharsToken

      public boolean isPresentNonWhitespaceCharsToken()
    • getBackslash

      public String getBackslash()
    • isPresentBackslash

      public boolean isPresentBackslash()
    • setAlphaNumCharsWithUnderscoreToken

      public void setAlphaNumCharsWithUnderscoreToken(String alphaNumCharsWithUnderscoreToken)
    • setAlphaNumCharsWithUnderscoreTokenAbsent

      public void setAlphaNumCharsWithUnderscoreTokenAbsent()
    • setNonWordCharsToken

      public void setNonWordCharsToken(String nonWordCharsToken)
    • setNonWordCharsTokenAbsent

      public void setNonWordCharsTokenAbsent()
    • setWordBoundariesToken

      public void setWordBoundariesToken(String wordBoundariesToken)
    • setWordBoundariesTokenAbsent

      public void setWordBoundariesTokenAbsent()
    • setNonWordBoundariesToken

      public void setNonWordBoundariesToken(String nonWordBoundariesToken)
    • setNonWordBoundariesTokenAbsent

      public void setNonWordBoundariesTokenAbsent()
    • setDigitCharsToken

      public void setDigitCharsToken(String digitCharsToken)
    • setDigitCharsTokenAbsent

      public void setDigitCharsTokenAbsent()
    • setNonDigitCharsToken

      public void setNonDigitCharsToken(String nonDigitCharsToken)
    • setNonDigitCharsTokenAbsent

      public void setNonDigitCharsTokenAbsent()
    • setWhitespaceCharsToken

      public void setWhitespaceCharsToken(String whitespaceCharsToken)
    • setWhitespaceCharsTokenAbsent

      public void setWhitespaceCharsTokenAbsent()
    • setNonWhitespaceCharsToken

      public void setNonWhitespaceCharsToken(String nonWhitespaceCharsToken)
    • setNonWhitespaceCharsTokenAbsent

      public void setNonWhitespaceCharsTokenAbsent()
    • setBackslash

      public void setBackslash(String backslash)
    • setBackslashAbsent

      public void setBackslashAbsent()
    • 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 ASTRegExEscapeChar _construct()
    • getEnclosingScope

      public IRegularExpressionsScope getEnclosingScope()
      Specified by:
      getEnclosingScope in interface ASTEscapeChar
      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 ASTEscapeChar
      Specified by:
      setEnclosingScope in interface ASTRegExItem
    • setEnclosingScope

      public void setEnclosingScope(IMCCommonLiteralsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTEscapeChar
      Specified by:
      setEnclosingScope in interface ASTRegExItem
    • setEnclosingScope

      public void setEnclosingScope(IMCBasicsScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTEscapeChar
      Specified by:
      setEnclosingScope in interface ASTRegExItem
    • setEnclosingScope

      public void setEnclosingScope(IMCLiteralsBasisScope enclosingScope)
      Specified by:
      setEnclosingScope in interface ASTEscapeChar
      Specified by:
      setEnclosingScope in interface ASTRegExItem