(script: Ast.Node[], scope = this.scope)
| 226 | |
| 227 | @autobind |
| 228 | private collectNsSync(script: Ast.Node[], scope = this.scope): void { |
| 229 | for (const node of script) { |
| 230 | switch (node.type) { |
| 231 | case 'ns': { |
| 232 | this.collectNsMemberSync(node, scope); |
| 233 | break; |
| 234 | } |
| 235 | |
| 236 | default: { |
| 237 | // nop |
| 238 | } |
| 239 | } |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | @autobind |
| 244 | private async collectNsMember(ns: Ast.Namespace, scope = this.scope): Promise<void> { |
no test coverage detected