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

Method astIteration

gapil/bapi/decode.go:1648–1656  ·  view source on GitHub ↗
(astIterationID uint64)

Source from the content-addressed store, hash-verified

1646}
1647
1648func (d *decoder) astIteration(astIterationID uint64) (out *ast.Iteration) {
1649 d.build(d.content.Instances.AstIteration, &d.inst.ASTIteration, astIterationID, &out,
1650 func(p *ASTIteration, s *ast.Iteration) {
1651 s.Variable = d.astIdentifier(p.Variable)
1652 s.Iterable = d.astNode(p.Iterable)
1653 s.Block = d.astBlock(p.Block)
1654 })
1655 return
1656}
1657
1658func (d *decoder) astMapIteration(astMapIterationID uint64) (out *ast.MapIteration) {
1659 d.build(d.content.Instances.AstMapIteration, &d.inst.ASTMapIteration, astMapIterationID, &out,

Callers 2

iterationMethod · 0.95
astNodeMethod · 0.95

Calls 4

buildMethod · 0.95
astIdentifierMethod · 0.95
astNodeMethod · 0.95
astBlockMethod · 0.95

Tested by

no test coverage detected