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

Method iteration

gapil/bapi/decode.go:805–816  ·  view source on GitHub ↗
(iterationID uint64)

Source from the content-addressed store, hash-verified

803}
804
805func (d *decoder) iteration(iterationID uint64) (out *semantic.Iteration) {
806
807 d.build(d.content.Instances.Iteration, &d.inst.Iteration, iterationID, &out,
808 func(p *Iteration, s *semantic.Iteration) {
809 s.AST = d.astIteration(p.Ast)
810 s.Iterator = d.local(p.Iterator)
811 s.From = d.expr(p.From)
812 s.To = d.expr(p.To)
813 s.Block = d.block(p.Block)
814 })
815 return
816}
817func (d *decoder) length(lengthID uint64) (out *semantic.Length) {
818 d.build(d.content.Instances.Length, &d.inst.Length, lengthID, &out,
819 func(p *Length, s *semantic.Length) {

Callers 2

statMethod · 0.95
nodeMethod · 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