Feedback symbol information to original ast tree #628
HungMingWu
started this conversation in
General
Replies: 1 comment
|
I understand what you're trying to do but the snippets you posted don't really have enough information to say what's wrong or where you're getting stuck. The SyntaxRewriter needs to have the compilation to get info about the parameter values, but other than that I'm not sure how else to help you. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi Mike, I have some idea about AST transformation
Here is an example:
I hope to remove parameter, and it looks like
My naive method is
The processing is verbose and error-prone,
Another selection is
Now I have PortSymbol information, but I cannot get original syntax tree information.
Which method do you suggest? Or have better solution?
Thanks
All reactions