Files
regorus/tests/lexer/cases/keyword.yaml
Anand Krishnamoorthi cb0b3a1790 Code from github.com/anakrish/rego-rs
Authored by anakrish and mingweishih

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
2023-02-09 10:56:54 -08:00

11 lines
418 B
YAML

cases:
# Keywords are parsed as identifiers.
# It is up to the parser to handle them as appropriate.
- note: keywords/all
rego: as default else false import package not null some true with
tokens: [ "as", "default", "else", "false", "import",
"package", "not", "null", "some", "true", "with",
"" ]
kinds: [Ident, Ident, Ident, Ident, Ident, Ident, Ident, Ident,
Ident, Ident, Ident, Eof]