MCPcopy
hub / github.com/sqldef/sqldef / SQLNode

Interface SQLNode

parser/node.go:27–29  ·  view source on GitHub ↗

SQLNode defines the interface for all nodes generated by the parser.

Source from the content-addressed store, hash-verified

25// SQLNode defines the interface for all nodes
26// generated by the parser.
27type SQLNode interface {
28 Format(buf *nodeBuffer)
29}
30
31// nodeBuffer extends strings.Builder to format SQLNode easily.
32type nodeBuffer struct {

Callers 7

PrintfMethod · 0.65
StringFunction · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
FormatMethod · 0.65

Implementers 15

Unionparser/node.go
Selectparser/node.go
Streamparser/node.go
Insertparser/node.go
Updateparser/node.go
Deleteparser/node.go
Setparser/node.go
Declareparser/node.go
Cursorparser/node.go
BeginEndparser/node.go
Whileparser/node.go
Ifparser/node.go

Calls

no outgoing calls

Tested by

no test coverage detected