MCPcopy
hub / github.com/cube2222/octosql / SQLNode

Interface SQLNode

parser/sqlparser/ast.go:222–228  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

220// SQLNode defines the interface for all nodes
221// generated by the parser.
222type SQLNode interface {
223 Format(buf *TrackedBuffer)
224 // walkSubtree calls visit on all underlying nodes
225 // of the subtree, but not the current one. Walking
226 // must be interrupted if visit returns an error.
227 walkSubtree(visit Visit) error
228}
229
230// Visit defines the signature of a function that
231// can be used to visit all nodes of a parse tree.

Callers 9

AppendFunction · 0.65
FormatMethod · 0.65
TestSelectFunction · 0.65
TestRemoveHintsFunction · 0.65
MyprintfMethod · 0.65
BuildValueFunction · 0.65
ValueToJsonFunction · 0.65
FormatCSVValueFunction · 0.65
WalkFunction · 0.65

Implementers 15

Unionparser/sqlparser/ast.go
Selectparser/sqlparser/ast.go
Withparser/sqlparser/ast.go
Streamparser/sqlparser/ast.go
Insertparser/sqlparser/ast.go
Updateparser/sqlparser/ast.go
Deleteparser/sqlparser/ast.go
Setparser/sqlparser/ast.go
DBDDLparser/sqlparser/ast.go
DDLparser/sqlparser/ast.go
Showparser/sqlparser/ast.go
Useparser/sqlparser/ast.go

Calls

no outgoing calls

Tested by

no test coverage detected