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

Method astClear

gapil/bapi/encode.go:1683–1690  ·  view source on GitHub ↗
(n *ast.Clear)

Source from the content-addressed store, hash-verified

1681}
1682
1683func (e *encoder) astClear(n *ast.Clear) (outID uint64) {
1684 e.build(&e.instances.AstClear, e.maps.ASTClear, n, &outID, func() *ASTClear {
1685 return &ASTClear{
1686 Map: e.astNode(n.Map),
1687 }
1688 })
1689 return
1690}
1691
1692func (e *encoder) astCase(n *ast.Case) (outID uint64) {
1693 e.build(&e.instances.AstCase, e.maps.ASTCase, n, &outID, func() *ASTCase {

Callers 2

mapClearMethod · 0.95
astNodeMethod · 0.95

Calls 2

buildMethod · 0.95
astNodeMethod · 0.95

Tested by

no test coverage detected