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

Method astBlock

gapil/bapi/decode.go:1494–1500  ·  view source on GitHub ↗
(astBlockID uint64)

Source from the content-addressed store, hash-verified

1492}
1493
1494func (d *decoder) astBlock(astBlockID uint64) (out *ast.Block) {
1495 d.build(d.content.Instances.AstBlock, &d.inst.ASTBlock, astBlockID, &out,
1496 func(p *ASTBlock, s *ast.Block) {
1497 foreach(p.Statements, d.astNode, &s.Statements)
1498 })
1499 return
1500}
1501
1502func (d *decoder) astDeclareLocal(astDeclareLocalID uint64) (out *ast.DeclareLocal) {
1503 d.build(d.content.Instances.AstDeclareLocal, &d.inst.ASTDeclareLocal, astDeclareLocalID, &out,

Callers 8

blockMethod · 0.95
astBranchMethod · 0.95
astCaseMethod · 0.95
astDefaultMethod · 0.95
astFunctionMethod · 0.95
astIterationMethod · 0.95
astMapIterationMethod · 0.95
astNodeMethod · 0.95

Calls 2

buildMethod · 0.95
foreachFunction · 0.85

Tested by

no test coverage detected