Changeset 5578
- Timestamp:
- 06/25/09 09:16:10 (14 months ago)
- Location:
- trunk/Padre
- Files:
-
- 2 modified
-
Changes (modified) (1 diff)
-
lib/Padre/Task/Outline/Perl.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/Changes
r5577 r5578 5 5 Some of the refactoring code was moved to PPIx-EditorTools (MGRIMES) 6 6 Detection of Moose attributes in Outline view (jquelin) 7 Detection of MooseX::POE events in Outline view (jquelin) 7 8 8 9 v0.37 2009.06.25 -
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 }
