Package org.apache.felix.gogo.runtime
Class Token
- java.lang.Object
-
- org.apache.felix.gogo.runtime.Token
-
- All Implemented Interfaces:
java.lang.CharSequence
public class Token extends java.lang.Object implements java.lang.CharSequence
-
-
Constructor Summary
Constructors Constructor Description Token(Tokenizer.Type type, java.lang.CharSequence value, short line, short column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description char
charAt(int index)
int
length()
java.lang.String
source()
java.lang.CharSequence
subSequence(int start, int end)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Token
public Token(Tokenizer.Type type, java.lang.CharSequence value, short line, short column)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.CharSequence
- Overrides:
toString
in classjava.lang.Object
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfacejava.lang.CharSequence
-
length
public int length()
- Specified by:
length
in interfacejava.lang.CharSequence
-
subSequence
public java.lang.CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfacejava.lang.CharSequence
-
source
public java.lang.String source()
-
-