(p *PrettyCfg)
| 865 | } |
| 866 | |
| 867 | func (node *AliasClause) doc(p *PrettyCfg) pretty.Doc { |
| 868 | d := pretty.Text(node.Alias.String()) |
| 869 | if len(node.Cols) != 0 { |
| 870 | d = p.nestUnder(d, p.bracket("(", p.Doc(&node.Cols), ")")) |
| 871 | } |
| 872 | return d |
| 873 | } |
| 874 | |
| 875 | func (node *JoinTableExpr) doc(p *PrettyCfg) pretty.Doc { |
| 876 | // buf will contain the fully populated sequence of join keywords. |