Skip to content
Snippets Groups Projects
Unverified Commit 274a7bb0 authored by Alexander Kiselev's avatar Alexander Kiselev Committed by GitHub
Browse files

Custom expression editor: use new parser/compiler to generate diagnostics (#19557)

* pratt parser diagnostics

* ported over tests from custom parser branch

* updated error types to support pos/len for error markers

* updated compiler error to removed unnecessary plural

* updated resolver to use new error type and pass through node information

* updated error text in custom column e2e test

* updated diagnostics to use new resolver error class

* update recursive-parser passes to pass through node information

* roll back error text fix in e2e tests

* deleted fuzzing tests (they will be moved into the metabase/expression repo)

* this is weird, setting e2e error text back to "Expected expression"

* rolled back expression editor changes in handleInputBlur and moved diagnoseExpression first to fix exponent rewrite issue

* roll back changes to compileExpression

* update import paths in expressions case class identities get messed up
parent 4097d58c
No related branches found
No related tags found
No related merge requests found
Showing
with 1660 additions and 29 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment