You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
bd82
changed the title
avoid rebuilding the GAST on parser construction when using RULE_OVERRIDE
Avoid rebuilding the GAST on parser construction when using RULE_OVERRIDE
Apr 9, 2016
Will avoid doing "heavy duty" lifting every time a Parser using RULE_OVERRIDE is initialized.
The heavy lifting (analyzing the grammar) should only be done the first time a Parser is initialized.
in the context of a specific grammar.
This enables avoiding the rebuilding of the GAST representation
of an overriden rule on each and every initialization of the Parser.
Fixes#171
See comment in:
https://github.com/SAP/chevrotain/blob/13cc2eee7caa00bc8780d3a16e951e681f6515d4/src/parse/parser_public.ts#L1083
The text was updated successfully, but these errors were encountered: