Skip to content

Commit 0a29e85

Browse files
committed
Perform minor selector spec cleanup
1 parent 586aa6c commit 0a29e85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/spec/core/selectors.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ trait that has an entry named ``Homepage``:
353353
354354
[trait|externalDocumentation|(keys)=Homepage]
355355
356-
Like the ``(list)`` property, the ``(keys)`` property also treats empty
356+
Like the ``(values)`` property, the ``(keys)`` property also treats empty
357357
objects as not present.
358358

359359
The following example matches all shapes that have a trait named
@@ -376,7 +376,7 @@ MUST not cause an error and MUST match no shapes:
376376
Neighbors
377377
=========
378378

379-
The *current* shapes evaluated by a selector is changed using a
379+
The *current shapes* evaluated by a selector are changed using a
380380
:token:`selector_neighbor` token.
381381

382382

@@ -613,7 +613,7 @@ no documentation:
613613
``:is``
614614
-------
615615

616-
The ``:is`` function is used to map over the current shape with multiple
616+
The ``:is`` function is used to map over the current shapes with multiple
617617
selectors and returns all of the shapes returned from each selector. The
618618
``:is`` function accepts a variadic list of selectors each separated by a
619619
comma (",").
@@ -793,7 +793,7 @@ Selectors are defined by the following ABNF_ grammar.
793793
selector_value :`selector_text` / `number` / `root_shape_id`
794794
selector_absolute_root_shape_id :`namespace` "#" `identifier`
795795
selector_pseudo_key :"(" `identifier` ")"
796-
selector_comparator :"^=" / "$=" / "*=" / "!=" / "="
796+
selector_comparator :"^=" / "$=" / "*=" / "!=" / ">=" / ">" / "<=" / "<" / "="
797797
selector_function_expression :":" `selector_function` "(" `selector` *("," `selector`) ")"
798798
selector_function :`identifier`
799799
selector_text :`selector_single_quoted_text` / `selector_double_quoted_text`

0 commit comments

Comments
 (0)