Next: A Complete C++ Example, Previous: C++ Parser Interface, Up: C++ Parsers [Contents][Index]
The parser invokes the scanner by calling yylex
. Contrary to C
parsers, C++ parsers are always pure: there is no point in using the
‘%define api.pure’ directive. The actual interface with yylex
depends whether you use unions, or variants.
• Split Symbols: | Passing symbols as two/three components | |
• Complete Symbols: | Making symbols a whole |