[LuaDoc] Document location_set operators
This commit is contained in:
parent
3a7bd26067
commit
f9c7336f1a
1 changed files with 6 additions and 1 deletions
|
@ -15,8 +15,13 @@ end
|
|||
---@alias location_set_resolver fun(x:integer, y:integer, old:any, new:any):any
|
||||
|
||||
---A set of locations, with an optional associated value for each one.
|
||||
---@class location_set
|
||||
---@class location_set : { [location]: any }
|
||||
---@field values table<integer, any>
|
||||
---@operator bnot:location_set
|
||||
---@operator band:location_set
|
||||
---@operator bor:location_set
|
||||
---@operator bxor:location_set
|
||||
---@operator sub:location_set
|
||||
local methods = {}
|
||||
local locset_meta = {}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue