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

Method ObjectComp

internal/pass/pass.go:345–349  ·  view source on GitHub ↗

ObjectComp traverses that kind of node

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

Source from the content-addressed store, hash-verified

343
344// ObjectComp traverses that kind of node
345func (*Base) ObjectComp(p ASTPass, node *ast.ObjectComp, ctx Context) {
346 p.ObjectFields(p, &node.Fields, ctx)
347 p.ForSpec(p, &node.Spec, ctx)
348 p.Fodder(p, &node.CloseFodder, ctx)
349}
350
351// Parens traverses that kind of node
352func (*Base) Parens(p ASTPass, node *ast.Parens, ctx Context) {

Callers

nothing calls this directly

Calls 3

ObjectFieldsMethod · 0.65
ForSpecMethod · 0.65
FodderMethod · 0.65

Tested by

no test coverage detected