MCPcopy Index your code
hub / github.com/cube2222/octosql / String

Function String

parser/sqlparser/ast.go:258–266  ·  view source on GitHub ↗

String returns a string representation of an SQLNode.

(node SQLNode)

Source from the content-addressed store, hash-verified

256
257// String returns a string representation of an SQLNode.
258func String(node SQLNode) string {
259 if node == nil {
260 return "<nil>"
261 }
262
263 buf := NewTrackedBuffer(nil)
264 buf.Myprintf("%v", node)
265 return buf.String()
266}
267
268// Append appends the SQLNode to the buffer.
269func Append(buf *strings.Builder, node SQLNode) {

Callers 4

FormatMethod · 0.70
TestReplaceExprFunction · 0.70
readableFunction · 0.70
ExtractSetValuesFunction · 0.70

Calls 3

MyprintfMethod · 0.95
NewTrackedBufferFunction · 0.85
StringMethod · 0.45

Tested by 2

TestReplaceExprFunction · 0.56
readableFunction · 0.56