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

Function Keyword

pkg/util/pretty/document.go:252–254  ·  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

250// the result of the result of the transform. This allows for things like
251// coloring and other control characters in the output.
252func Keyword(s string) Doc {
253 return keyword(s)
254}

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.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…