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

Method declareLocal

gapil/bapi/decode.go:537–544  ·  view source on GitHub ↗
(declareLocalID uint64)

Source from the content-addressed store, hash-verified

535}
536
537func (d *decoder) declareLocal(declareLocalID uint64) (out *semantic.DeclareLocal) {
538 d.build(d.content.Instances.DeclareLocal, &d.inst.DeclareLocal, declareLocalID, &out,
539 func(p *DeclareLocal, s *semantic.DeclareLocal) {
540 s.AST = d.astDeclareLocal(p.Ast)
541 s.Local = d.local(p.Local)
542 })
543 return
544}
545
546func (d *decoder) definition(definitionID uint64) (out *semantic.Definition) {
547 d.build(d.content.Instances.Definition, &d.inst.Definition, definitionID, &out,

Callers 2

statMethod · 0.95
nodeMethod · 0.95

Calls 3

buildMethod · 0.95
astDeclareLocalMethod · 0.95
localMethod · 0.95

Tested by

no test coverage detected