Author: pmichaud Date: Mon Jan 21 18:32:45 2008 New Revision: 25116 Modified: trunk/docs/pdds/pdd26_ast.pod
Changes in other areas also in this revision: Modified: trunk/compilers/pct/src/PCT/Node.pir trunk/runtime/parrot/library/Parrot/Capture_PIR.pir Log: [pct]: * Add shift and pop operations to PAST::Nodes. * Patch courtesy Stuart Jansen <sjansen at gurulabs.com> Modified: trunk/docs/pdds/pdd26_ast.pod ============================================================================== --- trunk/docs/pdds/pdd26_ast.pod (original) +++ trunk/docs/pdds/pdd26_ast.pod Mon Jan 21 18:32:45 2008 @@ -61,10 +61,20 @@ Add C<child> to the end of the node's array of children. +=item pop() + +Remove the last child from the node's array of children. +Returns the child. + =item unshift(child) Add C<child> to the beginning of the node's array of children. +=item shift() + +Remove the first child from the node's array of children. +Returns the child. + =item iterator( ) Return a newly initialized C<Iterator> for the node's list