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

Method Binary

internal/pass/pass.go:242–246  ·  view source on GitHub ↗

Binary traverses that kind of node

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

Source from the content-addressed store, hash-verified

240
241// Binary traverses that kind of node
242func (*Base) Binary(p ASTPass, node *ast.Binary, ctx Context) {
243 p.Visit(p, &node.Left, ctx)
244 p.Fodder(p, &node.OpFodder, ctx)
245 p.Visit(p, &node.Right, ctx)
246}
247
248// Conditional traverses that kind of node
249func (*Base) Conditional(p ASTPass, node *ast.Conditional, ctx Context) {

Callers

nothing calls this directly

Calls 2

VisitMethod · 0.65
FodderMethod · 0.65

Tested by

no test coverage detected