Added support for first-class functions - function-type parameters such as fun(int) -> int cb are now parsed correctly, and the parameters of such functions are recognized in the function body instead of being reported as undefined.
Fixed
Indexed functions and externs whose signatures span multiple lines. Previously their exports were never recorded so they reported as undefined everywhere they got imported.
Added Go-to-Definition for function-type parameters - a reference such as cb(x) now jumps to the parameter's declaration in the enclosing function signature.
License
This project is distributed under the MIT License - see the license file for details.