Package org.sonar.java.regex.ast
Class CharacterRangeTree
- java.lang.Object
-
- org.sonar.java.regex.ast.AbstractRegexSyntaxElement
-
- org.sonar.java.regex.ast.CharacterRangeTree
-
- All Implemented Interfaces:
CharacterClassElementTree,RegexSyntaxElement
public class CharacterRangeTree extends AbstractRegexSyntaxElement implements CharacterClassElementTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.java.regex.ast.CharacterClassElementTree
CharacterClassElementTree.Kind
-
-
Constructor Summary
Constructors Constructor Description CharacterRangeTree(RegexSource source, IndexRange range, CharacterTree lowerBound, CharacterTree upperBound, FlagSet activeFlags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(RegexVisitor visitor)FlagSetactiveFlags()CharacterClassElementTree.KindcharacterClassElementKind()CharacterTreegetLowerBound()CharacterTreegetUpperBound()-
Methods inherited from class org.sonar.java.regex.ast.AbstractRegexSyntaxElement
getLocations, getRange, getSource, getText
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.java.regex.ast.CharacterClassElementTree
is
-
Methods inherited from interface org.sonar.java.regex.ast.RegexSyntaxElement
getLocations, getRange, getSource, getText
-
-
-
-
Constructor Detail
-
CharacterRangeTree
public CharacterRangeTree(RegexSource source, IndexRange range, CharacterTree lowerBound, CharacterTree upperBound, FlagSet activeFlags)
-
-
Method Detail
-
getLowerBound
public CharacterTree getLowerBound()
-
getUpperBound
public CharacterTree getUpperBound()
-
accept
public void accept(RegexVisitor visitor)
- Specified by:
acceptin interfaceCharacterClassElementTree
-
characterClassElementKind
@Nonnull public CharacterClassElementTree.Kind characterClassElementKind()
- Specified by:
characterClassElementKindin interfaceCharacterClassElementTree
-
activeFlags
@Nonnull public FlagSet activeFlags()
- Specified by:
activeFlagsin interfaceCharacterClassElementTree
-
-