Package org.sonar.sslr.internal.matchers
Class LocatedText
java.lang.Object
org.sonar.sslr.internal.matchers.LocatedText
- All Implemented Interfaces:
CharSequence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharcharAt(int index) intlength()subSequence(int from, int to) char[]toChars()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints
-
Constructor Details
-
LocatedText
-
-
Method Details
-
length
public int length()- Specified by:
lengthin interfaceCharSequence
-
toChars
public char[] toChars() -
charAt
public char charAt(int index) - Specified by:
charAtin interfaceCharSequence
-
subSequence
- Specified by:
subSequencein interfaceCharSequence
-
toString
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-