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

Method astDeclareLocal

gapil/bapi/decode.go:1502–1509  ·  view source on GitHub ↗
(astDeclareLocalID uint64)

Source from the content-addressed store, hash-verified

1500}
1501
1502func (d *decoder) astDeclareLocal(astDeclareLocalID uint64) (out *ast.DeclareLocal) {
1503 d.build(d.content.Instances.AstDeclareLocal, &d.inst.ASTDeclareLocal, astDeclareLocalID, &out,
1504 func(p *ASTDeclareLocal, s *ast.DeclareLocal) {
1505 s.Name = d.astIdentifier(p.Name)
1506 s.RHS = d.astNode(p.Rhs)
1507 })
1508 return
1509}
1510
1511func (d *decoder) astDefault(astDefaultID uint64) (out *ast.Default) {
1512 d.build(d.content.Instances.AstDefault, &d.inst.ASTDefault, astDefaultID, &out,

Callers 2

declareLocalMethod · 0.95
astNodeMethod · 0.95

Calls 3

buildMethod · 0.95
astIdentifierMethod · 0.95
astNodeMethod · 0.95

Tested by

no test coverage detected