2 scope.hh -- declare Scope
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "lily-proto.hh"
14 #include "lily-guile.hh"
16 class Scheme_hash_table;
18 Scheme_hash_table *id_dict_;
20 SCM to_alist () const;
21 bool elem_b (String ) const;
22 bool elem_b (SCM s) const;
23 Identifier *elem (String) const;
24 Identifier *elem (SCM) const;
25 void set (String, Identifier *);
28 Scope (Scope const &);
30 friend class Scope_iter;
34 Hash_table_iter<Protected_scm,Identifier*> * iter_;
36 void operator ++(int);
38 Scope_iter(Scope const&);
40 Identifier* val () const;