MCPcopy Create free account
hub / github.com/araddon/qlbridge / WriteDialect

Method WriteDialect

expr/node.go:532–542  ·  view source on GitHub ↗
(w DialectWriter)

Source from the content-addressed store, hash-verified

530 return w.String()
531}
532func (m *FuncNode) WriteDialect(w DialectWriter) {
533 io.WriteString(w, m.Name)
534 io.WriteString(w, "(")
535 for i, arg := range m.Args {
536 if i > 0 {
537 io.WriteString(w, ", ")
538 }
539 arg.WriteDialect(w)
540 }
541 io.WriteString(w, ")")
542}
543func (m *FuncNode) Validate() error {
544
545 if m.F.CustomFunc != nil {

Callers 1

StringMethod · 0.95

Calls 1

WriteDialectMethod · 0.65

Tested by

no test coverage detected