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

Method WriteDialect

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

Source from the content-addressed store, hash-verified

1428 m.writeToString(w, "NOT ")
1429}
1430func (m *BooleanNode) WriteDialect(w DialectWriter) {
1431 if m.negated {
1432 m.writeToString(w, "NOT ")
1433 } else {
1434 m.writeToString(w, "")
1435 }
1436
1437}
1438func (m *BooleanNode) writeToString(w DialectWriter, negate string) {
1439 if len(negate) > 0 {
1440 io.WriteString(w, negate)

Callers 1

StringMethod · 0.95

Calls 1

writeToStringMethod · 0.95

Tested by

no test coverage detected