Login
Added is_label_pointer method, to distinguish the "LOOP" bareword
authorJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Thu, 29 Mar 2007 12:00:38 +0000 (12:00 +0000)
committerJeffrey Ryan Thalhammer <jeff@imaginative-software.com>
Thu, 29 Mar 2007 12:00:38 +0000 (12:00 +0000)
commitaa0d7c6e40780b075db43a0b09c7e856ce8700b6
tree1841e327de050d829330d1eb49bd509d00d363cc
parentf03e88678855d8bcbe9c3293a273d999b80de0f0
Added is_label_pointer method, to distinguish the "LOOP" bareword
in expressions like this:

  next LOOP if $condition;

I'm starting to sense a pattern.  All the is_* methods in the
Utils package suggest that the PPI class hierarchy could be
further sub divided.  Must talk to Adam about this.
lib/Perl/Critic/Utils.pm