annotate python/ppci/core/symboltable.py @ 113:1f40be088ee8

Added first start stlink
author Windel Bouwman
date Sat, 05 Jan 2013 00:06:27 +0100
parents 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