Format formats the Exec
(buf *nodeBuffer)
| 499 | |
| 500 | // Format formats the Exec |
| 501 | func (node *Exec) Format(buf *nodeBuffer) { |
| 502 | if node.Name.IsEmpty() { |
| 503 | buf.Printf("%s (%v)", node.Action, node.Exprs) |
| 504 | return |
| 505 | } |
| 506 | buf.Printf("%s %s %v", node.Action, node.Name.Name, node.Exprs) |
| 507 | } |
| 508 | |
| 509 | // Return represents a RETURN statement. |
| 510 | type Return struct { |