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

Method astMapIteration

gapil/bapi/encode.go:1853–1864  ·  view source on GitHub ↗
(n *ast.MapIteration)

Source from the content-addressed store, hash-verified

1851}
1852
1853func (e *encoder) astMapIteration(n *ast.MapIteration) (outID uint64) {
1854 e.build(&e.instances.AstMapIteration, e.maps.ASTMapIteration, n, &outID, func() *ASTMapIteration {
1855 return &ASTMapIteration{
1856 IndexVariable: e.astIdentifier(n.IndexVariable),
1857 KeyVariable: e.astIdentifier(n.KeyVariable),
1858 ValueVariable: e.astIdentifier(n.ValueVariable),
1859 Map: e.astNode(n.Map),
1860 Block: e.astBlock(n.Block),
1861 }
1862 })
1863 return
1864}
1865
1866func (e *encoder) astMember(n *ast.Member) (outID uint64) {
1867 e.build(&e.instances.AstMember, e.maps.ASTMember, n, &outID, func() *ASTMember {

Callers 2

mapIterationMethod · 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