mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-28 00:59:31 +00:00
Add object type, dot operator can return function references
This commit is contained in:
parent
69b9e17020
commit
47f95fc04a
18 changed files with 599 additions and 49 deletions
|
|
@ -166,6 +166,12 @@ types.anselme = {
|
|||
end,
|
||||
to_lua = nil
|
||||
},
|
||||
object = {
|
||||
format = function(val)
|
||||
return ("%%%s"):format(val.class)
|
||||
end,
|
||||
to_lua = nil
|
||||
},
|
||||
-- internal types
|
||||
["event buffer"] = {
|
||||
format = function(val) -- triggered from subtexts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue