parrotcode: Abstract syntax tree nodes for C99 | |
Contents | Language Implementations | C99 |
C99::CPP::PAST - Abstract syntax tree nodes for C99
This file implements the various abstract syntax tree nodes needed for C99. The currently defined ast nodes:
C99::CPP::PAST::Node - base class for all ast nodes
C99::CPP::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").
|