PAST::Node
Base class for all AST nodes
All AST nodes may have children
- 'init'([child1, child2, ...], [attr1=>val1, attr2=>val2, ...])
- initialize node
- 'node'([source])
- set source code position for this node
- 'push'(child)
- add a child to this node
Parrot Compiler Tools | Parrot Compiler Tools | #19 |
Base class for all AST nodes
All AST nodes may have children
Copyright © 2007 Patrick Michaud |