Kotlin/Java: Add compilation_info table

This commit is contained in:
Ian Lynagh
2022-11-09 16:09:47 +00:00
parent c8426776fc
commit d0dfb4926b
2 changed files with 11 additions and 0 deletions

View File

@@ -143,4 +143,9 @@ class Compilation extends @compilation {
* Holds if the extractor encountered non-recoverable errors.
*/
predicate nonRecoverableErrors() { compilation_finished(this, _, _, 2) }
/**
* Gets the piece of compilation information with the given key, if any.
*/
string getInfo(string key) { compilation_info(this, key, result) }
}