01: /*
02: * xtc - The eXTensible Compiler
03: * Copyright (C) 2004 Robert Grimm
04: *
05: * This library is free software; you can redistribute it and/or
06: * modify it under the terms of the GNU Lesser General Public License
07: * version 2.1 as published by the Free Software Foundation.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the Free Software
16: * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17: * USA.
18: */
19: package xtc.parser;
20:
21: /**
22: * The superclass of memoization table columns.
23: *
24: * @author Robert Grimm
25: * @version $Revision: 1.4 $
26: */
27: public abstract class Column {
28:
29: /** The file name. */
30: public String file;
31:
32: /**
33: * The flag for whether the previous character was a carriage
34: * return.
35: */
36: public boolean seenCR;
37:
38: /** The current line. */
39: public int line;
40:
41: /** The current column. */
42: public int column;
43:
44: }
|