Skip to content

Commit 74130cc

Browse files
committed
[grammar] Renamed list-filter-expr to filter-expression in the grammar.
1 parent af0d21b commit 74130cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GRAMMAR.ABNF

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ bracket-specifier =/ "[" "*" "]"
379379
;; search('*.foo', {"a": {"foo": 1}, "b": {"foo": 2}, "c": {"bar": 1}}) -> [1, 2]
380380
;; ```
381381

382-
list-filter-expr = "[?" expression "]" ;; # Filter Expressions \
383-
bracket-specifier =/ list-filter-expr ;; \
382+
filter-expression = "[?" expression "]" ;; # Filter Expressions \
383+
bracket-specifier =/ filter-expression ;; \
384384
comparator-expression = expression comparator expression ;; \
385385
comparator = "<" / "<=" / "==" / ">=" / ">" / "!="
386386
;; A filter expression provides a way to select JSON elements based on a comparison to another expression. A filter

0 commit comments

Comments
 (0)