(tree, type_hint)
| 17396 | return this.getNamedValues(trees, maybe_unpack).map((value) => value.value(this.graph)); |
| 17397 | } |
| 17398 | emitExpr(tree, type_hint) { |
| 17399 | type_hint = type_hint || null; |
| 17400 | let out_val = this.emitSugaredExpr(tree, 1, type_hint).asValue(tree, this.method); |
| 17401 | if (type_hint === torch.AnyType.get() && out_val.type() !== torch.AnyType.get()) { |
| 17402 | out_val = this.graph.insertUncheckedCast(out_val, type_hint); |
| 17403 | } |
| 17404 | return out_val; |
| 17405 | } |
| 17406 | emitSugaredExpr(tree, n_binders, type_hint) { |
| 17407 | if (tree instanceof ast.Name) { // TK_VAR |
| 17408 | return this.environment_stack.getSugaredVar(tree.id); |
no test coverage detected