NAME

src/pmc/lexinfo.pmc - LexInfo PMC

DESCRIPTION

These are the vtable functions for the lexinfo PMC.

Functions

init_pmc(PMC *sub)
Initialize the LexInfo PMC and remember the associate subroutine.
void declare_lex_preg(STRING *name, INTVAL preg)
Declare a lexical variable that is an alias for a PMC register. The PIR compiler calls this method in response to a ".lex STRING, PREG" directive.
PMC *inspect_str(STRING *what)
Introspects this LexInfo structure. The only valid introspection key is symbols, which gets an array of the names of the symbols in this lexpad.

SEE ALSO

docs/pdds/pdd20_lexical_vars.pod, src/classes/lexpad.pmc.