Mercurial > lcfOS
comparison python/ppci/c3/astnodes.py @ 394:988f3fb861e4
c3 code generator rewrite
author | Windel Bouwman |
---|---|
date | Thu, 22 May 2014 08:14:12 +0200 |
parents | 6ae782a085e0 |
children |
comparison
equal
deleted
inserted
replaced
393:6ae782a085e0 | 394:988f3fb861e4 |
---|---|
42 | 42 |
43 @property | 43 @property |
44 def Types(self): | 44 def Types(self): |
45 return self.innerScope.Types | 45 return self.innerScope.Types |
46 | 46 |
47 @property | |
48 def Functions(self): | |
49 return self.innerScope.Functions | |
50 | |
47 def __repr__(self): | 51 def __repr__(self): |
48 return 'MODULE {}'.format(self.name) | 52 return 'MODULE {}'.format(self.name) |
49 | 53 |
50 | 54 |
51 class Type(Node): | 55 class Type(Node): |