public final char c;
public final Location location;
- private CharToken(char c, int line, int col) { this(c, new CartesianLocation(line, col)); }
+ CharToken(char c, int line, int col) { this(c, new CartesianLocation(line, col)); }
private CharToken(char c, Location loc) { this.c = c; this.location = loc; }
public String result() { return c+""; }
public Location getLocation() { return location; }