JS: Add more overlay[caller?] annotations

This commit is contained in:
Asger F
2025-10-15 11:05:22 +02:00
parent 66febb263d
commit e72232fd1d
10 changed files with 13 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ class NodeInStmtContainer extends Locatable, @node_in_stmt_container {
/**
* Gets the function or toplevel to which this node belongs.
*/
overlay[caller]
pragma[inline]
final StmtContainer getContainer() { result = getStmtContainer(this) }
}