Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在下面的代码中用 print(a+b) 替换 print(a)。
void main(){ String a ="hey"; String b ="there"; print(\$a); }
cn 是 AstNode & cn 包含 print($a)
他们有什么办法我可以做到这一点吗?请帮助我,我是飞镖新手。
https://happystudiess.blogspot.in/2017/08/dart-replacing-node-in-abstract-syntax-tree.html
这是答案的链接。