-
- public static class Location implements Token.Location {
- public final int line;
- public final int col;
- public String toString() { return line + ":" + col; }
- public Location(int line, int col) { this.line = line; this.col = col; }
- }
-
- private class LocWrap implements Token.Location {
- public final int line;
- public final int col;
- public String toString() { return line + ":" + col; }
- public LocWrap(int line, int col) { this.line = line; this.col = col; }
- }