| 419 | } |
| 420 | |
| 421 | unique_ptr<HdlStmAssign> VerStatementParser::visitVariable_assignment( |
| 422 | sv2017Parser::Variable_assignmentContext *ctx) { |
| 423 | // variable_assignment: |
| 424 | // variable_lvalue ASSIGN expression; |
| 425 | VerExprParser ep(this); |
| 426 | auto _dst = ctx->variable_lvalue(); |
| 427 | auto dst = ep.visitVariable_lvalue(_dst); |
| 428 | auto _src = ctx->expression(); |
| 429 | auto src = ep.visitExpression(_src); |
| 430 | auto o = create_object_with_doc<HdlStmAssign>(ctx, commentParser, move(dst), |
| 431 | move(src), true); |
| 432 | return o; |
| 433 | } |
| 434 | |
| 435 | unique_ptr<iHdlStatement> VerStatementParser::visitLoop_statement( |
| 436 | sv2017Parser::Loop_statementContext *ctx) { |
nothing calls this directly
no test coverage detected