Package deltix.qsrv.hf.tickdb.lang.pub
Class Token
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.lang.pub.Token
-
public class Token extends java.lang.Object
Token information used for syntax highlighting.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
type
public final TokenType type
Token type.
-
location
public final long location
Token location, basically consisting of start and end line and position numbers, packed into a 64-bit long integer. Use methods in theLocation
class to decode start and end line and position numbers.
-
-
Constructor Detail
-
Token
public Token(TokenType type, long location)
-
-