feat: ready to start main work

This commit is contained in:
2023-11-08 22:52:30 +08:00
parent 39e0240c2c
commit 3e1f314f83
9 changed files with 80 additions and 35 deletions

View File

@ -1 +1,3 @@
- 代码树的accept函数有定义因此是不是在写Visitor的“具体Visit函数”时访问子节点时也要直接调用“具体Visit函数”
- 代码树的accept函数有定义
- 没有代码块级作用域,变量注销只发生在函数级作用域退出时
- 全局作用域无需global即可访问因此局部变量覆盖全局变量的唯一方式是通过函数参数列表覆盖。