MCPcopy Index your code
hub / github.com/yuin/gopher-lua / Value

Method Value

function.go:55–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53}
54
55func (uv *Upvalue) Value() LValue {
56 //if uv.IsClosed() {
57 if uv.closed || uv.reg == nil {
58 return uv.value
59 }
60 //return uv.reg.Get(uv.index)
61 return uv.reg.array[uv.index]
62}
63
64func (uv *Upvalue) SetValue(value LValue) {
65 if uv.IsClosed() {

Callers 7

CloseMethod · 0.95
initFunction · 0.80
initFunction · 0.80
GetMethod · 0.80
GetUpvalueMethod · 0.80
GetMethod · 0.80
GetUpvalueMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected