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

Method astNamedArg

gapil/bapi/encode.go:1876–1884  ·  view source on GitHub ↗
(n *ast.NamedArg)

Source from the content-addressed store, hash-verified

1874}
1875
1876func (e *encoder) astNamedArg(n *ast.NamedArg) (outID uint64) {
1877 e.build(&e.instances.AstNamedArg, e.maps.ASTNamedArg, n, &outID, func() *ASTNamedArg {
1878 return &ASTNamedArg{
1879 Name: e.astIdentifier(n.Name),
1880 Value: e.astNode(n.Value),
1881 }
1882 })
1883 return
1884}
1885
1886func (e *encoder) astNode(n ast.Node) (out *ASTNode) {
1887 if n == nil {

Callers 1

astNodeMethod · 0.95

Calls 3

buildMethod · 0.95
astIdentifierMethod · 0.95
astNodeMethod · 0.95

Tested by

no test coverage detected