MCPcopy Create free account
hub / github.com/dolthub/doltgresql / Keyword

Function Keyword

postgres/parser/pretty/document.go:272–274  ·  view source on GitHub ↗

Keyword is identical to Text except they are filtered by keywordTransform. The computed width is always len(s), regardless of the result of the result of the transform. This allows for things like coloring and other control characters in the output.

(s string)

Source from the content-addressed store, hash-verified

270// the result of the result of the transform. This allows for things like
271// coloring and other control characters in the output.
272func Keyword(s string) Doc {
273 return keyword(s)
274}

Callers 15

keywordWithTextMethod · 0.92
joinNestedOuterMethod · 0.92
docTableMethod · 0.92
docTableMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docTableMethod · 0.92
docTableMethod · 0.92
docMethod · 0.92
docMethod · 0.92
docMethod · 0.92

Calls 1

keywordTypeAlias · 0.70

Tested by

no test coverage detected