Mercurial > projects > dang
comparison parser/Action.d @ 94:48bb2287c035 new_gen
Added Modules. Right now it's very simple - will grow with time and need.
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Tue, 06 May 2008 16:24:14 +0200 |
parents | eb5b2c719a39 |
children | 857f0d530789 |
comparison
equal
deleted
inserted
replaced
93:621cedba53ea | 94:48bb2287c035 |
---|---|
76 print etc.) | 76 print etc.) |
77 */ | 77 */ |
78 alias Object ExprT; | 78 alias Object ExprT; |
79 alias Object StmtT; /// ditto | 79 alias Object StmtT; /// ditto |
80 alias Object DeclT; /// ditto | 80 alias Object DeclT; /// ditto |
81 alias Object ModuleT; /// ditto | |
82 | |
83 // -- Modules -- | |
84 | |
85 ModuleT actOnModule(char[] name) | |
86 { | |
87 return null; | |
88 } | |
89 | |
90 void actOnModuleDecl(ModuleT m, DeclT d) | |
91 { | |
92 } | |
81 | 93 |
82 // -- Declarations -- | 94 // -- Declarations -- |
83 | 95 |
84 /** | 96 /** |
85 Either we should have one case that handles a lot of things, or we should | 97 Either we should have one case that handles a lot of things, or we should |