Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.
26
func
SetFlag(n Node) {
27
var
setter flagSetter
28
n.Accept(&setter)
29
}
30
31
type
flagSetter
struct
{
32
}
Callers
4
TestCast
Function · 0.92
ParseSQL
Method · 0.92
ParseOneStmt
Method · 0.92
TestFlag
Function · 0.92
Calls
1
Accept
Method · 0.65
Tested by
2
TestCast
Function · 0.74
TestFlag
Function · 0.74