Changeset 1cdfa82 for src/Parser/ParseNode.h
- Timestamp:
- Apr 25, 2018, 4:55:53 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 42107b4
- Parents:
- 2efe4b8 (diff), 9d5fb67 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r2efe4b8 r1cdfa82 179 179 180 180 Expression * build_cast( DeclarationNode * decl_node, ExpressionNode * expr_node ); 181 Expression * build_keyword_cast( KeywordCastExpr::Target target, ExpressionNode * expr_node ); 181 182 Expression * build_virtual_cast( DeclarationNode * decl_node, ExpressionNode * expr_node ); 182 183 Expression * build_fieldSel( ExpressionNode * expr_node, Expression * member ); … … 246 247 static DeclarationNode * newAttribute( std::string *, ExpressionNode * expr = nullptr ); // gcc attributes 247 248 static DeclarationNode * newAsmStmt( StatementNode * stmt ); // gcc external asm statement 249 static DeclarationNode * newStaticAssert( ExpressionNode * condition, Expression * message ); 248 250 249 251 DeclarationNode(); … … 313 315 Attr_t attr; 314 316 317 struct StaticAssert_t { 318 ExpressionNode * condition; 319 Expression * message; 320 }; 321 StaticAssert_t assert; 322 315 323 BuiltinType builtin; 316 324 … … 392 400 393 401 Statement * build_if( IfCtl * ctl, StatementNode * then_stmt, StatementNode * else_stmt ); 394 Statement * build_switch( ExpressionNode * ctl, StatementNode * stmt );402 Statement * build_switch( bool isSwitch, ExpressionNode * ctl, StatementNode * stmt ); 395 403 Statement * build_case( ExpressionNode * ctl ); 396 404 Statement * build_default();
Note: See TracChangeset
for help on using the changeset viewer.