annotate python/ir/symboltable.py @ 164:e023d3ce1d63

Fix to loc of assignment
author Windel Bouwman
date Mon, 18 Mar 2013 22:15:57 +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