lilypond-0.1.33
[lilypond.git] / hdr / symtable.hh
blobf96d02c1ec2c18d3e19d63c77a537c6d0222f770
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"
10 struct Symtable : public Assoc<String, Symbol> {
11 Symbol lookup(String)const;
12 void print()const;
16 struct Symtables : private Assoc<String, Symtable*> {
18 Symtable* operator()(String s);
19 ~Symtables();
20 Symtables();
21 Symtables(Symtables const&);
22 Assoc<String, Symtable*>::add;
23 void print()const;
27 #endif