deep-c-rsc/JCGO/jtrsrc/com/ivmaisoft/jcgo/Token.java

11 lines
328 B
Java
Raw Normal View History

2021-07-16 18:12:20 -04:00
package com.ivmaisoft.jcgo;
class Token {
int kind; // token kind
int pos; // token position in the source text (starting at 0)
int col; // token column (starting at 0)
int line; // token line (starting at 1)
String str; // exact string value
String val; // token string value (uppercase if ignoreCase)
}