Files
plainleaf/client/space_lua/parse-lua.terms.js
T
13c61ebab7 [LIQ] Extend with group by and having with aggregators (#1843)
* [LIQ] Extend with `group by` and `having` support

Also update documentation with extensive examples and add some parser
tests.

Note: `make generate` JS files included.

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Merge `liq-add-support-for-aggregators` branch

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Fix link, remove `_` example

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Wrap example LIQ queries inside `query [[ .. ]]` and replace `sql` code block type to `lua`

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Example self-consistency fix

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>

* Fixed some queries

* Add experimental tags to LIQ aggregation/grouping

---------

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
Co-authored-by: Zef Hemel <zef@zef.me>
2026-02-25 10:35:31 +01:00

39 lines
760 B
JavaScript

// This file was generated by lezer-generator. You probably shouldn't edit it.
export const
Comment = 1,
Chunk = 2,
Block = 3,
Label = 5,
Name = 7,
Number = 20,
LiteralString = 21,
FunctionCall = 30,
TableConstructor = 32,
BinaryExpression = 39,
CompareOp = 42,
UnaryExpression = 51,
FuncBody = 58,
ArgList = 59,
Query = 60,
QueryClause = 62,
FromClause = 63,
WhereClause = 65,
OrderByClause = 67,
OrderBy = 70,
SelectClause = 72,
LimitClause = 74,
GroupByClause = 76,
HavingClause = 78,
IfStatement = 83,
ForStatement = 88,
ForNumeric = 90,
ForGeneric = 91,
NameList = 92,
ExpList = 94,
FuncName = 96,
VarList = 100,
AttNameList = 102,
AttName = 103,
Attrib = 104,
ReturnStatement = 105