summaryrefslogtreecommitdiff
path: root/hdr/symtable.hh
blob: a1443a7d3b1b4b15a4edc0e7fa9dc2494ffebb58 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
  lilypond, (c) 1996 Han-Wen Nienhuys
*/
#ifndef SYMTABLE_HH
#define SYMTABLE_HH
#include "assoc.hh"
#include "string.hh"
#include "symbol.hh"

struct  Symtable : public Assoc<String, Symbol> {
    Symbol lookup(String)const;
};


struct Symtables : private Assoc<String, Symtable*> {
    void read(Text_db&) ;
    Symtable* operator()(String s);

};


#endif