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

Method return_

gapil/bapi/decode.go:1043–1051  ·  view source on GitHub ↗
(returnID uint64)

Source from the content-addressed store, hash-verified

1041}
1042
1043func (d *decoder) return_(returnID uint64) (out *semantic.Return) {
1044 d.build(d.content.Instances.Return, &d.inst.Return, returnID, &out,
1045 func(p *Return, s *semantic.Return) {
1046 s.AST = d.astReturn(p.Ast)
1047 s.Function = d.function(p.Function)
1048 s.Value = d.expr(p.Value)
1049 })
1050 return
1051}
1052
1053func (d *decoder) select_(selectID uint64) (out *semantic.Select) {
1054 d.build(d.content.Instances.Select, &d.inst.Select, selectID, &out,

Callers 2

statMethod · 0.95
nodeMethod · 0.95

Calls 4

buildMethod · 0.95
astReturnMethod · 0.95
functionMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected