MCPcopy
hub / github.com/google/go-jsonnet / ImportStr

Method ImportStr

internal/pass/pass.go:281–284  ·  view source on GitHub ↗

ImportStr traverses that kind of node

(p ASTPass, node *ast.ImportStr, ctx Context)

Source from the content-addressed store, hash-verified

279
280// ImportStr traverses that kind of node
281func (*Base) ImportStr(p ASTPass, node *ast.ImportStr, ctx Context) {
282 p.Fodder(p, &node.File.Fodder, ctx)
283 p.LiteralString(p, node.File, ctx)
284}
285
286// ImportBin traverses that kind of node
287func (*Base) ImportBin(p ASTPass, node *ast.ImportBin, ctx Context) {

Callers

nothing calls this directly

Calls 2

FodderMethod · 0.65
LiteralStringMethod · 0.65

Tested by

no test coverage detected