This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
Replies: 2 comments 5 replies
-
你可以参考实验二的语法分析中,哪里需要引入 |
Beta Was this translation helpful? Give feedback.
0 replies
-
只需要检查是否存在 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
觉得这有助于编程,例如什么情况下会有ImplicitCastExpr,单靠面向样例可能会不断重构代码(或者if套if套个几层这种)
p.s. 个人总结的ImpliciCastExpr:出现在左值转右值处(但是变量外加一个括号仍然视为左值);出现在数组处(大概有n个[]就一共有(n+1)个ImplicitCastExpr)
再比如ReturnStmt:目前一共有return表达式、数组元素、变量、(变量)四种形式,每种形式我只能对着样例编程)没有一个比较全局性的代码逻辑(嗯加else if了)
或者有无相应的文档orz
Beta Was this translation helpful? Give feedback.
All reactions