看板java
标 题Re: [问题] 实作scope的概念, (local variable, tree structure..)
发信站SayYA 资讯站 (Mon Jan 22 07:00:16 2007)
转信站ptt!ctu-reader!news.nctu!SayYa
※ 引述《[email protected] (e :) y)》之铭言:
> 要能判断foo在不同地方指的是global variable还是local variable
> (有点不是很清楚的例子...)
> 我能想到的是
> 应该要建立tree structure或hash table
> 要有search by name 的功能
> 想问说 有没有api或libs
> 是可以让我比较轻松的implement?
> (就像我只需要照着resourc的structure走, 看到被定义的element, variable..
> 就用api提供的method存取和搜寻)
> thx
即使用 tool 这些还是要自己
tool 多半处理在字汇、语法、语意部分的定义
ps.
就记得俺写过相关的文
原来是标题不对,不过还有好 google
http://tinyurl.com/27dauz
--
※ Origin: SayYA 资讯站 <bbs.sayya.org>
◆ From: 163.26.34.213
1F:推 PsMonkey:也有收最後那个 library 总整理的连结 01/22 21:43