annotate python/ir/symboltable.py @ 160:10330be89bc2

Started from scratch with code edit
author Windel Bouwman
date Sat, 09 Mar 2013 11:56:48 +0100
parents 4e79484a9d47
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