Implements `filter(where <cond>)` for aggregate functions in LIQ queries which allows per-row conditional filtering within grouped aggregates. Also extends test suite and documentation. Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
39 lines
762 B
JavaScript
39 lines
762 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 = 76,
|
|
LimitClause = 78,
|
|
GroupByClause = 80,
|
|
HavingClause = 82,
|
|
IfStatement = 89,
|
|
ForStatement = 94,
|
|
ForNumeric = 96,
|
|
ForGeneric = 97,
|
|
NameList = 98,
|
|
ExpList = 100,
|
|
FuncName = 102,
|
|
VarList = 106,
|
|
AttNameList = 108,
|
|
AttName = 109,
|
|
Attrib = 110,
|
|
ReturnStatement = 111
|