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


Padre documentation  | view source Contained in the Padre distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

  $task->schedule;

DESCRIPTION

Top

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

Top

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

AUTHOR

Top

Steffen Mueller smueller@cpan.org

COPYRIGHT AND LICENSE

Top


Padre documentation  | view source Contained in the Padre distribution.