Changeset 5578 for trunk/Padre/lib/Padre/Task/Outline/Perl.pm
- Timestamp:
- 06/25/09 09:16:10 (3 years ago)
- File:
-
- 1 edited
-
trunk/Padre/lib/Padre/Task/Outline/Perl.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/lib/Padre/Task/Outline/Perl.pm
r5577 r5578 104 104 if ( $node->isa('PPI::Token::Word') && $node->content eq 'has' ) { 105 105 push @{ $cur_pkg->{attributes} }, { name => $thing->child(2)->content, line => $thing->location->[0] }; 106 next; 107 } 108 109 # MooseX::POE event declaration 110 if ( $node->isa('PPI::Token::Word') && $node->content eq 'event' ) { 111 push @{ $cur_pkg->{events} }, { name => $thing->child(2)->content, line => $thing->location->[0] }; 106 112 next; 107 113 } … … 240 246 ) 241 247 ); 242 foreach my $type (qw(pragmata modules attributes methods )) {248 foreach my $type (qw(pragmata modules attributes methods events)) { 243 249 _add_subtree( $outlinebar, $pkg, $type, $branch ); 244 250 }
Note: See TracChangeset
for help on using the changeset viewer.
