(target)
| 8972 | return this.create_node('output', 'output', new builtins.tuple(result), null, type_expr); |
| 8973 | } |
| 8974 | _target_to_str(target) { |
| 8975 | if (typeof target === 'string') { |
| 8976 | if (target.startsWith('__') && target.endsWith('__')) { |
| 8977 | target = target.substring(2, target.length - 2); |
| 8978 | } |
| 8979 | } else { |
| 8980 | target = target.__name__; |
| 8981 | } |
| 8982 | return this._snake_case(target); |
| 8983 | } |
| 8984 | _snake_case(s) { |
| 8985 | const chars = []; |
| 8986 | let prev_lower = false; |
no test coverage detected