parrotcode: P6C::IMCC::ExtRegex::CodeGen | |
Contents | Language Implementations | Perl6 |
P6C::IMCC::ExtRegex::CodeGen
Subclass of Regex::CodeGen (found in languages/regex/lib) for generating code that requires Perl6-specific functionality.
Regex::CodeGen calls methods named output_X
for every X
generated by the rewriting phase (see P6C::IMCC::ExtRegex::Rewrite).
Each method must return an array of PIR statements implementing the "operation" X
.
$args : [ <name, type, val> ]
$results : [ <type, val> ]
|