koknat / callGraph

A multi-language tool which parses source code for function definitions and calls
GNU General Public License v3.0
245 stars 28 forks source link

javascript's fat arrow functions support #16

Closed raphaelSeguin closed 1 year ago

raphaelSeguin commented 1 year ago

Hi, it doesn't seem to support fat arrow functions in javascript. My code looks like this:

const setOrderItems = (formItems) => {

callGraph: ERROR: Could not find any function definitions in your file

koknat commented 1 year ago

Hi Raphael, Sorry, but callGraph doesn't support fat arrow functions or anonymous functions

raphaelSeguin commented 1 year ago

Hi Chris, Thanks for your answer. I should try to do it myself.