Author: kjs Date: Mon Dec 1 05:47:10 2008 New Revision: 33420 Modified: trunk/docs/pct/past_building_blocks.pod
Log: [docs] update requirement for :node attribute in PAST. Modified: trunk/docs/pct/past_building_blocks.pod ============================================================================== --- trunk/docs/pct/past_building_blocks.pod (original) +++ trunk/docs/pct/past_building_blocks.pod Mon Dec 1 05:47:10 2008 @@ -22,7 +22,9 @@ the source code generated this node. The C<node> attribute can be set using another node or a Match object. -All nodes must have this attribute set. +The C<:node> attribute is needed for annotating a source line. If a source line +is represented by several nodes, i.e. a subtree of the whole AST, then only the +root of that subtree needs to have the C<:node> attribute. =head2 Methods
