meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
include [2020/12/18 08:40] – revusky | include [2021/02/05 21:35] – revusky | ||
---|---|---|---|
Line 33: | Line 33: | ||
You can still *inject* code into the generated parser or lexer class, from within an included grammar, but you need to write something like: | You can still *inject* code into the generated parser or lexer class, from within an included grammar, but you need to write something like: | ||
- | INJECT(**PARSER_CLASS**) : | + | INJECT(PARSER_CLASS) : |
{ | { | ||
... | ... | ||
Line 40: | Line 40: | ||
or: | or: | ||
- | INJECT(**LEXER_CLASS**) : | + | INJECT(LEXER_CLASS) : |
{ | { | ||
... | ... |