| 1186 | } |
| 1187 | |
| 1188 | ASTNode* NewCastExpression( ParserState& state, const Type& type, ASTNode* child ) |
| 1189 | { |
| 1190 | auto cast = state.NewNode( NT_CAST_EXPRESSION ); |
| 1191 | cast->SetType( type ); |
| 1192 | cast->AddChild( child ); |
| 1193 | return cast; |
| 1194 | } |
| 1195 | |
| 1196 | ASTNode* NewExpressionStatement( ParserState& state, ASTNode* expr ) |
| 1197 | { |
no test coverage detected