MCPcopy
hub / github.com/pingcap/tidb / SetFlag

Function SetFlag

pkg/parser/ast/flag.go:26–29  ·  view source on GitHub ↗

SetFlag sets flag for expression.

(n Node)

Source from the content-addressed store, hash-verified

24
25// SetFlag sets flag for expression.
26func SetFlag(n Node) {
27 var setter flagSetter
28 n.Accept(&setter)
29}
30
31type flagSetter struct {
32}

Callers 4

TestCastFunction · 0.92
ParseSQLMethod · 0.92
ParseOneStmtMethod · 0.92
TestFlagFunction · 0.92

Calls 1

AcceptMethod · 0.65

Tested by 2

TestCastFunction · 0.74
TestFlagFunction · 0.74