Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


do {
typeof(attributedNode) :==: pca.replacementType

Checking rules

Checking, (or Non-typesystem) rules can inspect the model searching for known error patterns in code and report them to the user. This code kind of pre-compilation code inspection is generally known as static code analysis. Error patterns in typical tools for static code analysis can fall into several categories, such as correctness problems, multi-threaded correctness, I18N problems, vulnerability-increasing errors, styling issues, performance problems, etc. The found issues are reported to the user either on-demand through an interactive report:

Image Added

or in a on-the-fly mode directly in the editor by colorful symbols and code underlines:

Image Added

MPS distinguishes problems by severity:

  • errors - displayed in red
  • warnings - displayed in yellow
  • infos - displayed in grayish


Previous Next