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

Method length

gapil/bapi/encode.go:1038–1047  ·  view source on GitHub ↗
(n *semantic.Length)

Source from the content-addressed store, hash-verified

1036}
1037
1038func (e *encoder) length(n *semantic.Length) (outID uint64) {
1039 e.build(&e.instances.Length, e.maps.Length, n, &outID, func() *Length {
1040 return &Length{
1041 Ast: e.astCall(n.AST),
1042 Object: e.expr(n.Object),
1043 Type: e.ty(n.Type),
1044 }
1045 })
1046 return
1047}
1048
1049func (e *encoder) local(n *semantic.Local) (outID uint64) {
1050 e.build(&e.instances.Local, e.maps.Local, n, &outID, func() *Local {

Callers 2

nodeMethod · 0.95
exprMethod · 0.95

Calls 4

buildMethod · 0.95
astCallMethod · 0.95
exprMethod · 0.95
tyMethod · 0.95

Tested by

no test coverage detected