upvalue en · NOUN · etymology 1
Etymology
From up + value.
Meanings
-
A free variable that has been bound (closed over) with a closure.
The so-called shared upvalues are copied for each function during setup. Afterward, the functions access their own copies of the upvalues. In the Lua reference manual, these are called shared upvalues because they are only pushed onto the stack once and used for all functions to be registered, which is only relevant to API invocations.
2023, Wenhuan Li, Integrate Lua with C++ […] , Packt Publishing Ltd, →ISBN, page 156:
Forms
| Spelling | Features | Labels | Source |
|---|---|---|---|
| upvalues | Number=Plur | lexicographic |