You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah we managed to implement something. the only annoyance is the bitwise flags for what kind of function body is being parsed. Would it be acceptable to expose those in the public API?
Yes, exporting those would make sense. Do you want to create a pull request? I'd prefer for them to be put into an object in the exported interface, to avoid adding a huge amount of exported identifiers.
It would be nice to be able to specify which specific goal to use when parsing something:
a, b, c
withFormalParameters[~Yield, ~Await]
->[Identifier, Identifier, Identifier]
const a = 5; return a;
withFunctionBody[~Yield, ~Await]
->[VariableDeclaration, ReturnStatement]
The text was updated successfully, but these errors were encountered: