Changeset 1cdc052 for src/Parser/ParseNode.h
- Timestamp:
- Mar 10, 2023, 4:05:50 PM (20 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 85a95cc
- Parents:
- fed03b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
rfed03b3 r1cdc052 394 394 395 395 struct ForCtrl { 396 ForCtrl( ExpressionNode * expr, ExpressionNode * condition, ExpressionNode * change ) : 397 init( new StatementNode( build_expr( expr ) ) ), condition( condition ), change( change ) {} 398 ForCtrl( DeclarationNode * decl, ExpressionNode * condition, ExpressionNode * change ) : 399 init( new StatementNode( decl ) ), condition( condition ), change( change ) {} 396 ForCtrl( StatementNode * stmt, ExpressionNode * condition, ExpressionNode * change ) : 397 init( stmt ), condition( condition ), change( change ) {} 400 398 401 399 StatementNode * init;
Note: See TracChangeset
for help on using the changeset viewer.