parrotcode: Abstract syntax tree nodes for Perl6 | |
Contents | Language Implementations | Perl6 |
Perl6::PAST - Abstract syntax tree nodes for Perl6
This file implements the various abstract syntax tree nodes needed for Perl 6. The currently defined ast nodes:
Perl6::PAST::Node - base class for all ast nodes
Perl6::PAST::Node::unique([string fmt])
unique
returns a unique number, or if a fmt
parameter is given it returns a unique string beginning with fmt
. (This may eventually be generalized to allow uniqueness anywhere in the string.) The function starts counting at 10 (so that the values 0..9 can be considered "safe").
|