Class Token
java.lang.Object
org.jparsec.Token
Represents any token with a token value and the 0-based index in the source.
- Author:
- Ben Yu
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Token
- Parameters:
index- the starting index.length- the length of the token.value- the token value.
-
-
Method Details
-
length
public int length()Returns the length of the token. -
index
public int index()Returns the index of the token in the original source. -
value
Returns the token value. -
toString
-
hashCode
-
equals
-