From b6a4627fdb316563abe86e6df5cd6b12571ef63b Mon Sep 17 00:00:00 2001 From: Romain Delamare Date: Wed, 17 Apr 2024 18:05:13 +0200 Subject: [PATCH] kql: rename selector rules in grammar --- QUERY-SPEC.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/QUERY-SPEC.md b/QUERY-SPEC.md index 371b711..70e4906 100644 --- a/QUERY-SPEC.md +++ b/QUERY-SPEC.md @@ -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+