MCPcopy Create free account
hub / github.com/google/gapid / call

Method call

gapil/bapi/encode.go:601–612  ·  view source on GitHub ↗
(n *semantic.Call)

Source from the content-addressed store, hash-verified

599}
600
601func (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
614func (e *encoder) callable(n *semantic.Callable) (outID uint64) {
615 e.build(&e.instances.Callable, e.maps.Callable, n, &outID, func() *Callable {

Callers 3

nodeMethod · 0.95
exprMethod · 0.95
statMethod · 0.95

Calls 5

buildMethod · 0.95
astCallMethod · 0.95
callableMethod · 0.95
tyMethod · 0.95
foreachFunction · 0.85

Tested by

no test coverage detected