2 identparent.hh -- part of LilyPond
4 (c) 1996,97 Han-Wen Nienhuys
13 /* boolean argument to accesor is copy_b..*/
14 #define IDACCESSOR( Input_staff, staff)\
15 virtual Input_staff * staff(bool) { error(#Input_staff); return 0; }
21 Identifier(String n
) : name(n
) { }
22 virtual ~Identifier() {}
23 virtual const char*classname() { return "new Identifier"; }
25 IDACCESSOR(Input_staff
, staff
)
26 IDACCESSOR(Input_music
, music
)
27 IDACCESSOR(Music_voice
, mvoice
)
28 IDACCESSOR(Script_def
, script
)
29 IDACCESSOR(Symtables
, symtables
)
30 IDACCESSOR(Music_general_chord
, mchord
)
31 IDACCESSOR(Lookup
,lookup
)
33 IDACCESSOR(Notename_tab
, notename_tab
)
35 Identifier(Identifier
const&){}
37 #endif // IDENTPARENT_HH