Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ patchCopyType
Function
patchCopyType
optimizer/optimizer.go:78–82 ·
view source on GitHub ↗
(node *Node, newNode Node)
Source
from the content-addressed store, hash-verified
76
}
77
78
func
patchCopyType(node *Node, newNode Node) {
79
t := (*node).Type()
80
newNode.SetType(t)
81
Patch(node, newNode)
82
}
Callers
11
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Visit
Method · 0.85
Calls
3
Type
Method · 0.65
SetType
Method · 0.65
Patch
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…