source:
dev/BasicCompiler_Common/LexicalScoping.h@
26
Last change on this file since 26 was 4, checked in by , 18 years ago | |
---|---|
File size: 330 bytes |
Line | |
---|---|
1 | |
2 | |
3 | class CLexicalScopes{ |
4 | int level; |
5 | int StartAddresses[1024]; |
6 | public: |
7 | CLexicalScopes(); |
8 | ~CLexicalScopes(); |
9 | |
10 | void Init(int addr); |
11 | |
12 | void LevelUp(int addr); |
13 | void LevelDown(void); |
14 | |
15 | int GetNowLevel(void); |
16 | int GetStartAddress(void); |
17 | |
18 | private: |
19 | VARIABLE *add(void); |
20 | }; |
21 | |
22 | extern CLexicalScopes obj_LexScopes; |
Note:
See TracBrowser
for help on using the repository browser.