Padre::Task::PPI::FindVariableDeclaration.3pm

Langue: en

Version: 2010-06-11 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Padre::Task::PPI::FindVariableDeclaration - Finds where a variable was declared using PPI

SYNOPSIS

   # finds declaration of variable at cursor
   my $declfinder = Padre::Task::PPI::FindVariableDeclaration->new(
           document => $document_obj,
           location => [$line, $column], # ppi-style location is okay, too
   );
 
   $declfinder->schedule();
 
 

DESCRIPTION

Finds out where a variable has been declared. If unsuccessful, a message box tells the user about that glorious fact. If a declaration is found, the cursor will jump to it.

SEE ALSO

This class inherits from "Padre::Task::PPI".

AUTHOR

Steffen Mueller "smueller@cpan.org" Copyright 2008-2010 The Padre development team as listed in Padre.pm.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself.