forked from dsldevkit/dsl-devkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pass DiagnosticCollector to generated methods
That is, instead of using getMessageAcceptor() to access the object for recording diagnostics, pass a DiagnosticCollector object as an argument to generated context methods. Additionally, have the generated calls to 'validate' also specify the CheckType of the performed check, so that the type can also be included in any constructed diagnostics. This is something that is missing from DispatchingCheckImpl based check execution, which always leaves CheckType as null.
- Loading branch information
Showing
3 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters