Package org.sonar.java.regex.ast
Class MiscEscapeSequenceTree
- java.lang.Object
-
- org.sonar.java.regex.ast.RegexSyntaxElement
-
- org.sonar.java.regex.ast.RegexTree
-
- org.sonar.java.regex.ast.MiscEscapeSequenceTree
-
public class MiscEscapeSequenceTree extends RegexTree
This class represents escape sequences inside regular expression that we don't particularly care about. Therefore the tree provides no information about the escape sequence other than its text.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.java.regex.ast.RegexTree
RegexTree.Kind
-
-
Constructor Summary
Constructors Constructor Description MiscEscapeSequenceTree(RegexSource source, IndexRange range)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(RegexVisitor visitor)
This method should only be called by RegexBaseVisitor (or other implementations of the RegexVisitor interface).RegexTree.Kind
kind()
-
Methods inherited from class org.sonar.java.regex.ast.RegexSyntaxElement
getLocations, getRange, getSource, getText
-
-
-
-
Constructor Detail
-
MiscEscapeSequenceTree
public MiscEscapeSequenceTree(RegexSource source, IndexRange range)
-
-
Method Detail
-
accept
public void accept(RegexVisitor visitor)
Description copied from class:RegexTree
This method should only be called by RegexBaseVisitor (or other implementations of the RegexVisitor interface). Do not call this method to invoke a visitor, use visitor.visit(tree) instead.
-
kind
public RegexTree.Kind kind()
-
-