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

Method astReturn

gapil/bapi/encode.go:2039–2044  ·  view source on GitHub ↗
(n *ast.Return)

Source from the content-addressed store, hash-verified

2037}
2038
2039func (e *encoder) astReturn(n *ast.Return) (outID uint64) {
2040 e.build(&e.instances.AstReturn, e.maps.ASTReturn, n, &outID, func() *ASTReturn {
2041 return &ASTReturn{Value: e.astNode(n.Value)}
2042 })
2043 return
2044}
2045
2046func (e *encoder) astString(n *ast.String) (outID uint64) {
2047 e.build(&e.instances.AstString, e.maps.ASTString, n, &outID, func() *ASTString {

Callers 2

return_Method · 0.95
astNodeMethod · 0.95

Calls 2

buildMethod · 0.95
astNodeMethod · 0.95

Tested by

no test coverage detected