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

Method astCall

gapil/bapi/encode.go:1643–1652  ·  view source on GitHub ↗
(n *ast.Call)

Source from the content-addressed store, hash-verified

1641}
1642
1643func (e *encoder) astCall(n *ast.Call) (outID uint64) {
1644 e.build(&e.instances.AstCall, e.maps.ASTCall, n, &outID, func() *ASTCall {
1645 p := &ASTCall{
1646 Target: e.astNode(n.Target),
1647 }
1648 foreach(n.Arguments, e.astNode, &p.Arguments)
1649 return p
1650 })
1651 return
1652}
1653
1654func (e *encoder) astDeclareLocal(n *ast.DeclareLocal) (outID uint64) {
1655 e.build(&e.instances.AstDeclareLocal, e.maps.ASTDeclareLocal, n, &outID, func() *ASTDeclareLocal {

Callers 13

arrayInitMethod · 0.95
assertMethod · 0.95
callMethod · 0.95
castMethod · 0.95
classInitMethod · 0.95
cloneMethod · 0.95
copyMethod · 0.95
createMethod · 0.95
lengthMethod · 0.95
makeMethod · 0.95
readMethod · 0.95
writeMethod · 0.95

Calls 3

buildMethod · 0.95
astNodeMethod · 0.95
foreachFunction · 0.85

Tested by

no test coverage detected