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

Method read

gapil/bapi/encode.go:1256–1264  ·  view source on GitHub ↗
(n *semantic.Read)

Source from the content-addressed store, hash-verified

1254}
1255
1256func (e *encoder) read(n *semantic.Read) (outID uint64) {
1257 e.build(&e.instances.Read, e.maps.Read, n, &outID, func() *Read {
1258 return &Read{
1259 Ast: e.astCall(n.AST),
1260 Slice: e.expr(n.Slice),
1261 }
1262 })
1263 return
1264}
1265
1266func (e *encoder) reference(n *semantic.Reference) (outID uint64) {
1267 e.build(&e.instances.Reference, e.maps.Reference, n, &outID, func() *Reference {

Callers 5

nodeMethod · 0.95
statMethod · 0.95
readAllMethod · 0.45
evaluateMethod · 0.45
searchMethod · 0.45

Calls 3

buildMethod · 0.95
astCallMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected