Mercurial > projects > dang
comparison ast/Stmt.d @ 204:227d6a8fb574
Added some random stuff...
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Mon, 11 Aug 2008 21:27:44 +0200 |
parents | 28beb8b110ee |
children |
comparison
equal
deleted
inserted
replaced
203:28beb8b110ee | 204:227d6a8fb574 |
---|---|
3 /** | 3 /** |
4 The base class for all Statements. | 4 The base class for all Statements. |
5 */ | 5 */ |
6 class Stmt | 6 class Stmt |
7 { | 7 { |
8 bool isCompundStmt() { return false; } | 8 bool isCompoundStmt() { return false; } |
9 CompoundStmt asCompoundStmt() { return null; } | 9 CompoundStmt asCompoundStmt() { return null; } |
10 | 10 |
11 bool isDeclStmt() { return false; } | 11 bool isDeclStmt() { return false; } |
12 DeclStmt asDeclStmt() { return null; } | 12 DeclStmt asDeclStmt() { return null; } |
13 | 13 |