Binary traverses that kind of node
(p ASTPass, node *ast.Binary, ctx Context)
| 240 | |
| 241 | // Binary traverses that kind of node |
| 242 | func (*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 |
| 249 | func (*Base) Conditional(p ASTPass, node *ast.Conditional, ctx Context) { |