HOST_GLOBAL_ROOTS (tree-sitter.ts, #2300): `window.App = {…}` defines the global `App`. (`self` is usually `var self = this` in page code, not the global.)
(name: &str)
| 156 | /// HOST_GLOBAL_ROOTS (tree-sitter.ts, #2300): `window.App = {…}` defines the |
| 157 | /// global `App`. (`self` is usually `var self = this` in page code, not the global.) |
| 158 | fn is_host_global_root(name: &str) -> bool { |
| 159 | matches!(name, "window" | "globalThis") |
| 160 | } |
| 161 | |
| 162 | /// One scope-stack entry (TS keeps node IDs; rows are our equivalent). |
| 163 | struct Scope { |
no outgoing calls
no test coverage detected