Debian Codegraph @

documentation/manual/directives/tokenclass.yo

raw
1 Syntax: bf(%token-class) tt(classname)
2
3 This directive is only processed when the tt(token-path) directive or option
4 has also been specified.
5
6 tt(Classname) defines the name of the tt(Tokens) class that is defined when
7 the tt(token-path) option (see below) is specified. By default the class name
8 tt(Tokens) is used. Assuming the default, then classes that need access to the
9 tokens defined by bic() may derive from tt(Tokens) (in which case a token like
10 tt(IDENTIFIER) can directly be used, or tokens must be provided with their
11 class context (e.g., tt(Tokens::IDENTIFIER)). The enumeration tt(Tokens_) in
12 the tt(Tokens) class has public access rights.