Changes in src/SynTree/Statement.h [871cdb4:70d826cd]
- File:
-
- 1 edited
-
src/SynTree/Statement.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Statement.h
r871cdb4 r70d826cd 67 67 }; 68 68 69 class NullStmt : public CompoundStmt {69 class NullStmt : public Statement { 70 70 public: 71 71 NullStmt(); … … 155 155 public: 156 156 Expression * condition; 157 std::list<Statement *> statements;158 157 159 158 SwitchStmt( std::list<Label> labels, Expression *condition, std::list<Statement *> &statements ); … … 171 170 virtual SwitchStmt *clone() const { return new SwitchStmt( *this ); } 172 171 virtual void print( std::ostream &os, int indent = 0 ) const; 173 172 private: 173 std::list<Statement *> statements; 174 174 }; 175 175 … … 327 327 class TryStmt : public Statement { 328 328 public: 329 CompoundStmt * block;329 CompoundStmt *block; 330 330 std::list<CatchStmt *> handlers; 331 FinallyStmt * finallyBlock;331 FinallyStmt *finallyBlock; 332 332 333 333 TryStmt( std::list<Label> labels, CompoundStmt *tryBlock, std::list<CatchStmt *> &handlers, FinallyStmt *finallyBlock = 0 );
Note:
See TracChangeset
for help on using the changeset viewer.