MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / FmtAnnotations

Function FmtAnnotations

pkg/sql/sem/tree/format.go:335–339  ·  view source on GitHub ↗

FmtAnnotations adds annotations to the FmtCtx.

(ann *Annotations)

Source from the content-addressed store, hash-verified

333
334// FmtAnnotations adds annotations to the FmtCtx.
335func FmtAnnotations(ann *Annotations) FmtCtxOption {
336 return func(ctx *FmtCtx) {
337 ctx.ann = ann
338 }
339}
340
341// FmtIndexedVarFormat modifies FmtCtx to customize the printing of
342// IndexedVars using the provided function.

Callers 1

AsStringWithFQNamesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…