ason icon indicating copy to clipboard operation
ason copied to clipboard

About how AST is generated

Open yjhmelody opened this issue 3 years ago • 1 comments

Should the generated code use the parser to parse the new text instead of modifying the AST? Because the range field of the original code cannot locate the newly generated code, will this be unfriendly to some errors?

yjhmelody avatar May 12 '21 03:05 yjhmelody

Yes. It will be unfriendly in some cases.

@willemneal and I are working on making it better. This takes time sometimes.

jtenner avatar May 14 '21 12:05 jtenner