upvalue

名词 n. 动词 v.

英文释义

名词 n.
  1. 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.
动词 v.
  1. To assign a higher value to. transitive

词形变化

upvalues plural upvalues present,singular,third-person upvaluing participle,present upvalued participle,past upvalued past

词源

词源 1
From up + value.
词源 2
From up- + value.
0 次浏览 数据来源: Wiktionary