]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/symtable.hh
71724eb0ad76f8a11d929bfeb27282ae4e53eb5e
[lilypond.git] / lily / include / symtable.hh
1 /*
2   symtable.hh -- declare 
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--1998 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef SYMTABLE_HH
11 #define SYMTABLE_HH
12
13 #include "dictionary.hh"
14 #include "string.hh"
15 #include "atom.hh"
16
17 struct  Symtable : public Dictionary<Atom> {
18     String id_str;
19     
20     Atom lookup (String) const;
21     void print() const;
22 };
23
24
25 struct Symtables : private Dictionary<Symtable*> {
26     
27     Symtable* operator()(String s);
28     ~Symtables();
29     Symtables();
30     Symtables (Symtables const&);
31     void add (String, Symtable*);
32     void print() const;
33 };
34
35
36 #endif
37