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

Method select_

gapil/bapi/decode.go:1053–1063  ·  view source on GitHub ↗
(selectID uint64)

Source from the content-addressed store, hash-verified

1051}
1052
1053func (d *decoder) select_(selectID uint64) (out *semantic.Select) {
1054 d.build(d.content.Instances.Select, &d.inst.Select, selectID, &out,
1055 func(p *Select, s *semantic.Select) {
1056 s.AST = d.astSwitch(p.Ast)
1057 s.Type = d.ty(p.Type)
1058 s.Value = d.expr(p.Value)
1059 s.Default = d.expr(p.Default)
1060 foreach(p.Choices, d.choice, &s.Choices)
1061 })
1062 return
1063}
1064
1065func (d *decoder) sliceAssign(sliceAssignID uint64) (out *semantic.SliceAssign) {
1066 d.build(d.content.Instances.SliceAssign, &d.inst.SliceAssign, sliceAssignID, &out,

Callers 1

exprMethod · 0.95

Calls 5

buildMethod · 0.95
astSwitchMethod · 0.95
tyMethod · 0.95
exprMethod · 0.95
foreachFunction · 0.85

Tested by

no test coverage detected