Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/expr-lang/expr
/ emitPush
Method
emitPush
compiler/compiler.go:137–139 ·
view source on GitHub ↗
(value any)
Source
from the content-addressed store, hash-verified
135
}
136
137
func
(c *compiler) emitPush(value any) int {
138
return
c.emit(OpPush, c.addConstant(value))
139
}
140
141
func
(c *compiler) addConstant(constant any) int {
142
indexable := true
Callers
9
IntegerNode
Method · 0.95
FloatNode
Method · 0.95
StringNode
Method · 0.95
BytesNode
Method · 0.95
ConstantNode
Method · 0.95
SliceNode
Method · 0.95
BuiltinNode
Method · 0.95
ArrayNode
Method · 0.95
MapNode
Method · 0.95
Calls
2
emit
Method · 0.95
addConstant
Method · 0.95
Tested by
no test coverage detected