(n *semantic.Call)
| 599 | } |
| 600 | |
| 601 | func (e *encoder) call(n *semantic.Call) (outID uint64) { |
| 602 | e.build(&e.instances.Call, e.maps.Call, n, &outID, func() *Call { |
| 603 | p := &Call{ |
| 604 | Ast: e.astCall(n.AST), |
| 605 | Target: e.callable(n.Target), |
| 606 | Type: e.ty(n.Type), |
| 607 | } |
| 608 | foreach(n.Arguments, e.expr, &p.Arguments) |
| 609 | return p |
| 610 | }) |
| 611 | return |
| 612 | } |
| 613 | |
| 614 | func (e *encoder) callable(n *semantic.Callable) (outID uint64) { |
| 615 | e.build(&e.instances.Callable, e.maps.Callable, n, &outID, func() *Callable { |