kql: rename selector rules in grammar

This commit is contained in:
Romain Delamare 2024-04-17 18:05:13 +02:00
parent 6c4c27e8c0
commit b6a4627fdb
No known key found for this signature in database
GPG Key ID: A745121A23AF846B
1 changed files with 3 additions and 3 deletions

View File

@ -115,9 +115,9 @@ what they expand to.
```
query-str := $bom? query
query := selector-start q-ws* "||" q-ws* query | selector-start
selector-start := filter q-ws* selector-operator q-ws* selector | filter
selector := matchers q-ws* selector-operator q-ws* selector | matchers
query := selector q-ws* "||" q-ws* query | selector
selector := filter q-ws* selector-operator q-ws* selector-subsequent | filter
selector-subsequent := matchers q-ws* selector-operator q-ws* selector-subsequent | matchers
selector-operator := ">>" | ">" | "++" | "+"
filter := "top(" q-ws* ")" | matchers
matchers := type-matcher $string? accessor-matcher* | $string accessor-matcher* | accessor-matcher+