Class Token
java.lang.Object
org.infosmid.stream.dsl.Token
Holder for a kind of token, the associated data and its position in the input data
stream (start/end).
-
Field Summary
Fields -
Method Summary
-
Field Details
-
kind
The kind of token. -
data
Any extra data for this token instance, e.g. the text for an identifier token. -
startPos
public int startPosIndex of first character. -
endPos
public int endPosIndex of char after the last character.
-
-
Method Details
-
getKind
-
toString
-
isIdentifier
public boolean isIdentifier() -
stringValue
-
hashCode
-
equals
-
isKind
-