Debian Codegraph @

documentation/manual/directives/baseclass.yo

raw
1 Syntax: bf(%baseclass-header) tt(filename)
2
3 tt(Filename) defines the name of the file to contain the parser's base
4 class. This class defines, e.g., the parser's symbolic tokens. Defaults to the
5 name of the parser class plus the suffix tt(base.h). It is always generated,
6 unless (re)writing is suppressed by the tt(--no-baseclass-header) and
7 tt(--dont-rewrite-baseclass-header) options. This directive is overruled by
8 the bf(--baseclass-header) (bf(-b)) command-line option.
9
10 It is an error to use this directive while an already existing parser class
11 header file does not contain tt(#include "filename").