Debian Codegraph @

documentation/manual/directives/parserclass.yo

raw
1 Syntax: bf(%class-name) tt(parser-class-name)
2
3 By default, b() generates a parser-class using the class name
4 tt(Parser). The default can be changed using this directive which defines the
5 name of the bf(C++) class that will be generated. It may be defined only once
6 and tt(parser-class-name) must be a bf(C++) identifier.
7
8 It is an error if this directive is used and an already existing parser-class
9 header file does not define tt(class `className') and/or if an already
10 existing implementation header file does not define members of the class
11 tt(`className').