-
-
Notifications
You must be signed in to change notification settings - Fork 75
Subs resolution status
Alexandr Evstigneev edited this page Jul 20, 2015
·
7 revisions
One of the most important goals of this plugin was to unleash powerful IDEA refactoring into the Perl's world. But, it's easier to say... :)
At the moment, only obvious subs invocations are resolved:
sub()
Package::sub()
-
Package->sub()
- with inheritance -
sub Package()
- works, but glitchy, not recommended -
$self->sub()
- with inheritance -
SUPER::sub()
- with inheritance -
$obj->sub()
- with inheritance, if$obj
has been declared with specific type:
my Foo::Bar $obj;
...
$obj->method(); # we know that it's Foo::Bar method
Inheritance is partially implemented, refactoring of object methods better not to use yet.
- Subs annotations usage to resolve chained invocations like
$obj->method1->method2->method3
- Annotation files, to be able to define return values and prototypes for packages without those.
- Resolving constants
- Resolving imports
- Optimizing inheritance search
- Home
- Getting started
- Features
- Languages & Frameworks
- Integration
- Version Managers
- Misc