* support for custom comparators in LIQ `order by` clauses via the `using` keyword. * `using` is mutually exclusive with `asc`/`desc` and accepts either a *named function* or an *inline anonymous function*. The comparator receives two values and returns true if the first should come before the second. * `nulls first`/ `nulls last` works independently of `using`. * `using` is now a reserved keyword (`kw`; this cannot be avoided but the chance to collide with user scripts is negligable), * documentation updated + polished a little 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 = 77,
|
|
LimitClause = 79,
|
|
GroupByClause = 81,
|
|
HavingClause = 83,
|
|
IfStatement = 90,
|
|
ForStatement = 95,
|
|
ForNumeric = 97,
|
|
ForGeneric = 98,
|
|
NameList = 99,
|
|
ExpList = 101,
|
|
FuncName = 103,
|
|
VarList = 107,
|
|
AttNameList = 109,
|
|
AttName = 110,
|
|
Attrib = 111,
|
|
ReturnStatement = 112
|