NAME ^

Cardinal::PAST - Abstract syntax tree nodes for Cardinal

DESCRIPTION ^

This file implements the various abstract syntax tree nodes needed for Ruby 1.9. The currently defined ast nodes:

    Cardinal::PAST::Node       - base class for all ast nodes

METHODS ^

Cardinal::PAST::Node::unique([string fmt])

Each call to 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").


parrot