]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/symtable.hh
release: 0.0.39-1
[lilypond.git] / lily / include / symtable.hh
1 /*
2   lilypond, (c) 1996,97 Han-Wen Nienhuys
3 */
4 #ifndef SYMTABLE_HH
5 #define SYMTABLE_HH
6 #include "assoc.hh"
7 #include "string.hh"
8 #include "symbol.hh"
9
10 struct  Symtable : public Assoc<String, Symbol> {
11     Symbol lookup(String)const;
12     void print()const;
13 };
14
15
16 struct Symtables : private Assoc<String, Symtable*> {
17     
18     Symtable* operator()(String s);
19     ~Symtables();
20     Symtables();
21     Symtables(Symtables const&);
22     Assoc<String, Symtable*>::add;
23     void print()const;
24 };
25
26
27 #endif
28