mirror of https://github.com/kdl-org/kdl.git
kql: rename selector rules in grammar
This commit is contained in:
parent
6c4c27e8c0
commit
b6a4627fdb
|
|
@ -115,9 +115,9 @@ what they expand to.
|
||||||
|
|
||||||
```
|
```
|
||||||
query-str := $bom? query
|
query-str := $bom? query
|
||||||
query := selector-start q-ws* "||" q-ws* query | selector-start
|
query := selector q-ws* "||" q-ws* query | selector
|
||||||
selector-start := filter q-ws* selector-operator q-ws* selector | filter
|
selector := filter q-ws* selector-operator q-ws* selector-subsequent | filter
|
||||||
selector := matchers q-ws* selector-operator q-ws* selector | matchers
|
selector-subsequent := matchers q-ws* selector-operator q-ws* selector-subsequent | matchers
|
||||||
selector-operator := ">>" | ">" | "++" | "+"
|
selector-operator := ">>" | ">" | "++" | "+"
|
||||||
filter := "top(" q-ws* ")" | matchers
|
filter := "top(" q-ws* ")" | matchers
|
||||||
matchers := type-matcher $string? accessor-matcher* | $string accessor-matcher* | accessor-matcher+
|
matchers := type-matcher $string? accessor-matcher* | $string accessor-matcher* | accessor-matcher+
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue