Commit da8a89e
committed
Extract simpleExprBody as a named grammar rule
Promote the %simpleExpr_factored fragment to a real "simpleExprBody"
rule so it creates its own AST node. This separates the core expression
(CONVERT, CAST, literals, etc.) from trailing modifiers (COLLATE,
CONCAT_PIPES) that remain in the parent "simpleExpr" node, making
individual expression handlers simpler.1 parent ee854d2 commit da8a89e
3 files changed
Lines changed: 12 additions & 12 deletions
File tree
- grammar-tools
- packages/mysql-on-sqlite/src
- mysql
- sqlite
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2961 | 2961 | | |
2962 | 2962 | | |
2963 | 2963 | | |
2964 | | - | |
| 2964 | + | |
2965 | 2965 | | |
2966 | 2966 | | |
2967 | 2967 | | |
2968 | | - | |
| 2968 | + | |
2969 | 2969 | | |
2970 | | - | |
| 2970 | + | |
2971 | 2971 | | |
2972 | 2972 | | |
2973 | 2973 | | |
| |||
Large diffs are not rendered by default.
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3691 | 3691 | | |
3692 | 3692 | | |
3693 | 3693 | | |
3694 | | - | |
3695 | | - | |
| 3694 | + | |
| 3695 | + | |
3696 | 3696 | | |
3697 | 3697 | | |
3698 | 3698 | | |
| |||
4204 | 4204 | | |
4205 | 4205 | | |
4206 | 4206 | | |
4207 | | - | |
| 4207 | + | |
4208 | 4208 | | |
4209 | | - | |
| 4209 | + | |
4210 | 4210 | | |
4211 | 4211 | | |
4212 | 4212 | | |
4213 | | - | |
| 4213 | + | |
4214 | 4214 | | |
4215 | 4215 | | |
4216 | 4216 | | |
| |||
5350 | 5350 | | |
5351 | 5351 | | |
5352 | 5352 | | |
5353 | | - | |
5354 | | - | |
| 5353 | + | |
| 5354 | + | |
5355 | 5355 | | |
5356 | 5356 | | |
5357 | 5357 | | |
5358 | | - | |
| 5358 | + | |
5359 | 5359 | | |
5360 | 5360 | | |
5361 | 5361 | | |
| |||
0 commit comments