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

Method write

gapil/bapi/encode.go:1538–1546  ·  view source on GitHub ↗
(n *semantic.Write)

Source from the content-addressed store, hash-verified

1536}
1537
1538func (e *encoder) write(n *semantic.Write) (outID uint64) {
1539 e.build(&e.instances.Write, e.maps.Write, n, &outID, func() *Write {
1540 return &Write{
1541 Ast: e.astCall(n.AST),
1542 Slice: e.expr(n.Slice),
1543 }
1544 })
1545 return
1546}
1547
1548func (e *encoder) astAnnotation(n *ast.Annotation) (outID uint64) {
1549 e.build(&e.instances.AstAnnotation, e.maps.ASTAnnotation, n, &outID, func() *ASTAnnotation {

Callers 2

nodeMethod · 0.95
statMethod · 0.95

Calls 3

buildMethod · 0.95
astCallMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected