01: /**************************************************************************/
02: /* N I C E */
03: /* A high-level object-oriented research language */
04: /* (c) Daniel Bonniot 2004 */
05: /* */
06: /* This program is free software; you can redistribute it and/or modify */
07: /* it under the terms of the GNU General Public License as published by */
08: /* the Free Software Foundation; either version 2 of the License, or */
09: /* (at your option) any later version. */
10: /* */
11: /**************************************************************************/package bossa.syntax;
12:
13: /**
14: A variable (local, field of a class, parameter of a method or function).
15: temporarily abstract superclass of VarSymbol
16: */
17:
18: public abstract class Symbol extends Node {
19: public Symbol(LocatedString name) {
20: super (Node.upper);
21: this .name = name;
22: addSymbol(this );
23: }
24:
25: final LocatedString name;
26: }
|