mirror of https://github.com/kdl-org/kdl.git
Update KQL grammar to use new operators
This commit is contained in:
parent
693d326271
commit
194d14d89d
|
|
@ -109,7 +109,7 @@ For rules that are not defined in this grammar, see [the KDL grammar](https://gi
|
||||||
```
|
```
|
||||||
query := selector q-ws* "||" q-ws* query | selector
|
query := selector q-ws* "||" q-ws* query | selector
|
||||||
selector := filter q-ws* selector-operator q-ws* selector | filter
|
selector := filter q-ws* selector-operator q-ws* selector | filter
|
||||||
selector-operator := ">" | "+" | "~" | ""
|
selector-operator := ">>" | ">" | "++" | "+"
|
||||||
filter := matcher+
|
filter := matcher+
|
||||||
matcher := "top()"| "()" | identifier | type | accessor-matcher
|
matcher := "top()"| "()" | identifier | type | accessor-matcher
|
||||||
accessor-matcher := "[" (comparison | accessor)? "]"
|
accessor-matcher := "[" (comparison | accessor)? "]"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue