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

Method astNamedArg

gapil/bapi/decode.go:1679–1686  ·  view source on GitHub ↗
(astNamedArgID uint64)

Source from the content-addressed store, hash-verified

1677}
1678
1679func (d *decoder) astNamedArg(astNamedArgID uint64) (out *ast.NamedArg) {
1680 d.build(d.content.Instances.AstNamedArg, &d.inst.ASTNamedArg, astNamedArgID, &out,
1681 func(p *ASTNamedArg, s *ast.NamedArg) {
1682 s.Name = d.astIdentifier(p.Name)
1683 s.Value = d.astNode(p.Value)
1684 })
1685 return
1686}
1687
1688func (d *decoder) astNode(p *ASTNode) ast.Node {
1689 if p == nil {

Callers 1

astNodeMethod · 0.95

Calls 3

buildMethod · 0.95
astIdentifierMethod · 0.95
astNodeMethod · 0.95

Tested by

no test coverage detected