Format formats the node.
(buf *nodeBuffer)
| 1365 | |
| 1366 | // Format formats the node. |
| 1367 | func (node *Use) Format(buf *nodeBuffer) { |
| 1368 | if !node.DBName.IsEmpty() { |
| 1369 | buf.Printf("use %v", node.DBName) |
| 1370 | } else { |
| 1371 | buf.Printf("use") |
| 1372 | } |
| 1373 | } |
| 1374 | |
| 1375 | // Begin represents a Begin statement. |
| 1376 | type Begin struct{} |