annotate python/ir/symboltable.py @ 147:4e79484a9d47

Moved core to ir folder
author Windel Bouwman
date Fri, 22 Feb 2013 10:33:48 +0100
parents python/ppci/core/symboltable.py@1544e7a4aa98
children
rev   line source
107
1544e7a4aa98 Improvements
Windel Bouwman
parents:
diff changeset
1
1544e7a4aa98 Improvements
Windel Bouwman
parents:
diff changeset
2 class SymbolTable:
1544e7a4aa98 Improvements
Windel Bouwman
parents:
diff changeset
3 """ Holds a table of symbols for a module or function """
1544e7a4aa98 Improvements
Windel Bouwman
parents:
diff changeset
4 def __init__(self):
1544e7a4aa98 Improvements
Windel Bouwman
parents:
diff changeset
5 self.symbols = {}
1544e7a4aa98 Improvements
Windel Bouwman
parents:
diff changeset
6
1544e7a4aa98 Improvements
Windel Bouwman
parents:
diff changeset
7