Skip to content

Commit

Permalink
Reenacted thrown away function
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Mar 6, 2024
1 parent 82a97a4 commit d017d93
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/org/rascalmpl/core/library/lang/rascalcore/check/Checker.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,17 @@ list[ModuleMessages] checkAll(loc root, PathConfig pcfg, CompilerConfig compiler
return check(toList(find(root, "rsc")), pcfg, compilerConfig);
}

// ---- Convenience check function during development -------------------------

map[str, list[Message]] checkModules(list[str] moduleNames, TypePalConfig config, PathConfig pcfg) {
<tmodels, moduleLocs, modules> = rascalTModelForNames(moduleNames, pcfg, config);
return (mname : tmodels[mname].messages | mname <- tmodels, !isEmpty(tmodels[mname].messages));
}

// ---- Convenience check function during development -------------------------



// -- calculate rename changes
// a change request happens at a symbol location that points to the lexical the cursor position, not necessarily a full symbol present in the TModel
// returns a list of changes (that can cross multiple files)
Expand Down

0 comments on commit d017d93

Please sign in to comment.