Get the depth of the stack. Note, that by default there is at least one element - the global scope.
(self)
| 225 | return result |
| 226 | |
| 227 | def stack_depth(self): |
| 228 | """Get the depth of the stack. Note, that by default there is at least one element |
| 229 | - the global scope.""" |
| 230 | return len(self._stack) |
| 231 | |
| 232 | def _find_closest(self, data_node): |
| 233 | """Find the closest scope level in the stack where we can access this node as produced |
no outgoing calls