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

PAST - Abstract syntax tree nodes for APL

This file implements the various abstract syntax tree nodes needed for APL. The currently defined ast nodes:
    PAST::Node       - base class for all ast nodes
    PAST::Stmts      - a block of statements
    PAST::Stmt       - a single statement
    PAST::Op         - an APL operation
    PAST::Val        - a constant value
    PAST::Var        - a variable
    PAST::Vector     - a vector of values
    PAST::Assign     - an assignment operation
The PAST::Node class itself is derived from Hash, so that it's easy to store and retrieve attributes from each node object.

__onload()PAST::* classes.
__init()PAST::Node object.set_node(PMC match)source()pos()__dump(PMC dumper, STR label)Data::Dumper.
Copyright (C) 2005-2006, The Perl Foundation.
This is free software; you may redistribute it and/or modify it under the same terms as Parrot.
|  |   |