class Registry
Tag Registry.
index
members
-
registry:begin_eval()
– begin an evaluation cycle. -
registry:rollback_eval()
– abort an evaluation cycle. -
registry:end_eval()
– end an evaluation cycle. -
registry:destroy()
– destroy this Registry and all associated Registrations.
static functions
-
Registry()
– create a new Registry.
internals for `tag`
-
registry:last(index)
– lookup the last registration. -
registry:register(tag, expr, ignore_dup)
– set the current registration.
details
members
- – begin an evaluation cycle.
-
– abort an evaluation cycle.
-
– end an evaluation cycle.
Register all pending Tags and destroy all orphaned registrations.
returns:
- (bool): whether any changes to the AST were made
-
– destroy this Registry and all associated Registrations.
needs to be called after
:eval
.
static functions
-
– create a new Registry.
internals for `tag`
-
– lookup the last registration.
parameters:
- the registration index
returns:
- (any)
-
– set the current registration.
parameters:
- the Tag to register
- the registration value
- ignore duplicate registrations