| parrotcode: Abstract syntax tree nodes for Cardinal | |
| Contents | Language Implementations | Cardinal |

Cardinal::PAST - Abstract syntax tree nodes for Cardinal

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

Cardinal::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").
|
|
|