Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rego v1 keywords #6649

Merged
merged 1 commit into from
Mar 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion docs/content/policy-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1316,10 +1316,16 @@ names, or dot-access style reference arguments:

```
as
contains
data
default
else
every
false
if
in
import
input
anderseknert marked this conversation as resolved.
Show resolved Hide resolved
package
not
null
Expand Down Expand Up @@ -1381,7 +1387,7 @@ non-empty-set = "{" term { "," term } "}"
empty-set = "set(" ")"
```

Note that the grammar corresponds to Rego with all future keywords enabled.
Note that the grammar corresponds to Rego with `rego.v1` enabled.

The grammar defined above makes use of the following syntax. See [the Wikipedia page on EBNF](https://en.wikipedia.org/wiki/Extended_Backus–Naur_Form) for more details:

Expand Down
Loading