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

Method astIteration

gapil/bapi/encode.go:1842–1851  ·  view source on GitHub ↗
(n *ast.Iteration)

Source from the content-addressed store, hash-verified

1840}
1841
1842func (e *encoder) astIteration(n *ast.Iteration) (outID uint64) {
1843 e.build(&e.instances.AstIteration, e.maps.ASTIteration, n, &outID, func() *ASTIteration {
1844 return &ASTIteration{
1845 Variable: e.astIdentifier(n.Variable),
1846 Iterable: e.astNode(n.Iterable),
1847 Block: e.astBlock(n.Block),
1848 }
1849 })
1850 return
1851}
1852
1853func (e *encoder) astMapIteration(n *ast.MapIteration) (outID uint64) {
1854 e.build(&e.instances.AstMapIteration, e.maps.ASTMapIteration, n, &outID, func() *ASTMapIteration {

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