We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This extra stage run immediately after AST creation and process following tasks:
FunctionExpression
FunctionDeclaration
The text was updated successfully, but these errors were encountered:
Another good candidate for simple rewriting is string operations:
const a = "a".charCodeAt(0);
to
const a = 0x61;
and
str.charAt(i) == 'e'
str.charCodeAt(i) == 0x65
rewrite:
= new Array = new Array(?<T>)(); = new Array(?<T>)(0);
: T[] = []; : T[] = []; : T[] = [];
Sorry, something went wrong.
Interesting paper about AST rule rewriting with partial parsing: TWEAST: A Simple and Effective Technique to Implement Concrete-Syntax AST Rewriting Using Partial Parsing.pdf
No branches or pull requests
This extra stage run immediately after AST creation and process following tasks:
Desugaring for top-level non-exported to host, non-mutable (const)FunctionExpression
toFunctionDeclaration
with preserving order.The text was updated successfully, but these errors were encountered: