hex13 / lupa

Analysis tool for JavaScript
MIT License
8 stars 0 forks source link

support for fluent interface doesn't work #3

Closed hex13 closed 8 years ago

hex13 commented 8 years ago

AST analysis of fluent interface (chaining) must be rewritten from scratch. Too much assumptions about node types, too chaotic.

It doesn't analyse correctly code like that:

angular.directive('DirectiveSomething', function () {

}).directive('DirectiveSomethingElse', function () {

});

and it's getting lost in tree.

hex13 commented 8 years ago

done.