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
The user must not enter rules with the same identifier. Is there an xText grammar features which ensures that duplicates produce an error?
The text was updated successfully, but these errors were encountered:
This seams to be accomplished by the xText type ValidID. We do not have to implement anything at all.
Sorry, something went wrong.
This was proved wrong. We need to write a custom validator such as: https://stackoverflow.com/questions/32126903/validating-unique-names-for-strings-and-optional-reference
Setting the want help marker here in order to ask Dominik.
Custom Validator should be the way to go. The Vitruvius reactions language implements basically the same thing: ReactionsLanguageValidator#checkReactionsFile (in https://github.com/vitruv-tools/Vitruv/blob/master/bundles/dsls/tools.vitruv.dsls.reactions/src/tools/vitruv/dsls/reactions/validation/ReactionsLanguageValidator.xtend)
No branches or pull requests
The user must not enter rules with the same identifier.
Is there an xText grammar features which ensures that duplicates produce an error?
The text was updated successfully, but these errors were encountered: