Package org.sonar.sslr.text
Interface TextCharSequence
-
- All Superinterfaces:
CharSequence
- All Known Implementing Classes:
CompositeText.CompositeTextCharSequence
,LocatedText
,PlainText
@Deprecated public interface TextCharSequence extends CharSequence
Deprecated.in 1.20, use your own text API instead.This interface is not intended to be implemented by clients.
- Since:
- 1.17
- See Also:
Text.sequence()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description char
charAt(int index)
Deprecated.TextLocation
getLocation(int index)
Deprecated.Text
getText()
Deprecated.int
length()
Deprecated.TextCharSequence
subSequence(int start, int end)
Deprecated.Text
subText(int start, int end)
Deprecated.String
toString()
Deprecated.-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
-
-
-
Method Detail
-
length
int length()
Deprecated.- Specified by:
length
in interfaceCharSequence
-
charAt
char charAt(int index)
Deprecated.- Specified by:
charAt
in interfaceCharSequence
-
subSequence
TextCharSequence subSequence(int start, int end)
Deprecated.- Specified by:
subSequence
in interfaceCharSequence
- Parameters:
start
- the start index, inclusiveend
- the end index, exclusive
-
toString
String toString()
Deprecated.- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
- Returns:
- a string containing the characters in this sequence in the same order as this sequence
-
getText
Text getText()
Deprecated.
-
subText
Text subText(int start, int end)
Deprecated.- Parameters:
start
- the start index, inclusiveend
- the end index, exclusive
-
getLocation
TextLocation getLocation(int index)
Deprecated.
-
-