]> git.donarmstrong.com Git - lilypond.git/blob - symtable.hh
73c4079e70c48fd5729746c24eb1acba2ad76772
[lilypond.git] / symtable.hh
1 /*
2   lilypond, (c) 1996 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 };
13
14
15 struct Symtables : private Assoc<String, Symtable*> {
16     String fname;
17     bool done_reading;
18     Symtables(String s) : fname (s) {
19         done_reading = false;
20     }
21     void read() ;
22     Symtable* operator()(String s);
23
24 };
25
26
27 #endif
28