(skipSelf = false)
| 22 | } |
| 23 | |
| 24 | getScope(skipSelf = false): PythonScope { |
| 25 | if (!skipSelf && isScopedNodeType(this.type)) { |
| 26 | return this.scope |
| 27 | } |
| 28 | if (this.parent === null) { |
| 29 | return null |
| 30 | } |
| 31 | return (this.parent.node as PythonNode).getScope() |
| 32 | } |
| 33 | |
| 34 | addSelfToScope() { |
| 35 | // No-op default implementation. |
nothing calls this directly
no test coverage detected