MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / doc

Method doc

pkg/sql/sem/tree/pretty.go:867–873  ·  view source on GitHub ↗
(p *PrettyCfg)

Source from the content-addressed store, hash-verified

865}
866
867func (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
875func (node *JoinTableExpr) doc(p *PrettyCfg) pretty.Doc {
876 // buf will contain the fully populated sequence of join keywords.

Callers

nothing calls this directly

Calls 5

TextFunction · 0.92
nestUnderMethod · 0.80
bracketMethod · 0.80
DocMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected