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 | Running Your Programming Language on Parrot | #19 |
Base class for all AST nodes
All AST nodes may have children
Copyright © 2007 chromatic and Patrick Michaud |