(JS/TS) Parse Definitions

Use ast-grep to extract function, class method, and class definitions. Use native tree-sitter functions to process/extract arrow functions and some anonymous functions, e.g ones that can be backtracked to a variable_declarator ancestor node.

Edited by Michael Usachenko