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

Method iteration

gapil/bapi/encode.go:989–1000  ·  view source on GitHub ↗
(n *semantic.Iteration)

Source from the content-addressed store, hash-verified

987}
988
989func (e *encoder) iteration(n *semantic.Iteration) (outID uint64) {
990 e.build(&e.instances.Iteration, e.maps.Iteration, n, &outID, func() *Iteration {
991 return &Iteration{
992 Ast: e.astIteration(n.AST),
993 Iterator: e.local(n.Iterator),
994 From: e.expr(n.From),
995 To: e.expr(n.To),
996 Block: e.block(n.Block),
997 }
998 })
999 return
1000}
1001
1002func (e *encoder) int8Value(n semantic.Int8Value) (outID uint64) {
1003 e.build(&e.instances.Int8Value, e.maps.Int8Value, n, &outID, func() *Int8Value {

Callers 2

nodeMethod · 0.95
statMethod · 0.95

Calls 5

buildMethod · 0.95
astIterationMethod · 0.95
localMethod · 0.95
exprMethod · 0.95
blockMethod · 0.95

Tested by

no test coverage detected