MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / newNodeFormatter

Function newNodeFormatter

pkg/formatter/render.go:35–40  ·  view source on GitHub ↗
(opts ast.FormatOptions)

Source from the content-addressed store, hash-verified

33}
34
35func newNodeFormatter(opts ast.FormatOptions) *nodeFormatter {
36 return &nodeFormatter{
37 opts: opts,
38 sb: &strings.Builder{},
39 }
40}
41
42// kw applies keyword casing to a keyword string.
43func (f *nodeFormatter) kw(keyword string) string {

Callers 15

renderCreateSequenceFunction · 0.85
renderAlterSequenceFunction · 0.85
renderDropSequenceFunction · 0.85
renderShowFunction · 0.85
renderDescribeFunction · 0.85
renderSelectFunction · 0.85
renderInsertFunction · 0.85
renderUpdateFunction · 0.85
renderDeleteFunction · 0.85
renderCreateTableFunction · 0.85
renderSetOperationFunction · 0.85
renderAlterTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected