open-policy-agent / opa-idea-plugin

Open Policy Agent plugin for IntelliJ
MIT License
56 stars 22 forks source link

refacror grammar: rename expr to literal-expr and expr2 to expr #93

Closed vgramer closed 3 years ago

vgramer commented 3 years ago

Description

expr2 rule is an explicit name (i really wasn't inspired when I wrote it :/ )

This pr rename the grammar rule

grammar: rename rules:
- `expr` to `literal-expr`
- `expr2` to `expr`

if you have a better name in mind, I am open to suggestions.

Special notes for your reviewer

vgramer commented 3 years ago

thanks again for the review