EnablePrattParser enables the Pratt parser implementation instead of the ANTLR parser.
(enablePrattParser bool)
| 179 | |
| 180 | // EnablePrattParser enables the Pratt parser implementation instead of the ANTLR parser. |
| 181 | func EnablePrattParser(enablePrattParser bool) Option { |
| 182 | return func(opts *options) error { |
| 183 | opts.enablePrattParser = enablePrattParser |
| 184 | return nil |
| 185 | } |
| 186 | } |
| 187 | |
| 188 | // EnableCallEscapeSyntax enables backtick (`) escaped function and method call identifiers, |
| 189 | // as well as internal identifiers with '@' characters. |
no outgoing calls