We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Specify intRange per Clafer, fallback on default if not explicitly specified, i.e., same way it works for scope.
The text was updated successfully, but these errors were encountered:
It would be great to be able to specify the domain right in the declaration, like this:
age -> integer<0..150> 1..1
which could be desugared to
age -> integer 1..1 [ this >= 0 && this <= 150 ]
Also, one could set allowed values like this
age -> integer<in 2, 5, 7, 10> 1..1
age -> integer 1..1 [ this in 2, 5, 7, 10 ]
It's worth discussing...
Sorry, something went wrong.
No branches or pull requests
Specify intRange per Clafer, fallback on default if not explicitly specified, i.e., same way it works for scope.
The text was updated successfully, but these errors were encountered: