Open kdy1 opened 5 years ago
async function foo() { }
I don't know how to parse this with single-token lookup table.
You'd have to tap into the parser for identifier (expression part here).
If the identifier is followed by the function keyword, check if that identifier as str equals "async", and if so use that as a flag.
function
"async"
I don't know how to parse this with single-token lookup table.