Vocabulary
ui.commands

Inputs
classa class word


Outputs
hasha hashtable


Word description
Outputs a hashtable mapping command map names to command-map instances.

Definition


: commands ( class -- hash )
dup "commands" word-prop
[ ] [ H{ } clone [ "commands" set-word-prop ] keep ] ?if ;