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

Method block

gapil/bapi/decode.go:375–382  ·  view source on GitHub ↗
(blockID uint64)

Source from the content-addressed store, hash-verified

373}
374
375func (d *decoder) block(blockID uint64) (out *semantic.Block) {
376 d.build(d.content.Instances.Block, &d.inst.Block, blockID, &out,
377 func(p *Block, s *semantic.Block) {
378 s.AST = d.astBlock(p.Ast)
379 foreach(p.Statements, d.stat, &s.Statements)
380 })
381 return
382}
383
384func (d *decoder) builtin(p Builtin) *semantic.Builtin {
385 switch p {

Callers 7

branchMethod · 0.95
case_Method · 0.95
functionMethod · 0.95
iterationMethod · 0.95
mapIterationMethod · 0.95
switch_Method · 0.95
nodeMethod · 0.95

Calls 3

buildMethod · 0.95
astBlockMethod · 0.95
foreachFunction · 0.85

Tested by

no test coverage detected