This extension allows you to extract names of breeds, procedures, and variables (global and breed-specific ones). It has a few simple reporters:
reflection:globals reports a list with the names of all global variables
reflection:breeds
reports a list of all breed names, and all their variables, default variables included.
reflection:procedures
reports a list of all procedures and their arguments. It also tells you whether they are reporters or commands.
reflection:current-procedure
reports the name of the current procedure.
reflection:callers
reports the name of the callers to the current procedure as a list. If this is inside a procedure foo
, which is called by bar
this will report ["FOO" "BAR"]
.