| 50 | } |
| 51 | |
| 52 | unique_ptr<iHdlExprItem> VerExprParser::visitPackage_scope( |
| 53 | sv2017Parser::Package_scopeContext *ctx) { |
| 54 | // package_scope: ( KW_DOLAR_UNIT | identifier ) DOUBLE_COLON; |
| 55 | auto du = ctx->KW_DOLAR_UNIT(); |
| 56 | if (du) { |
| 57 | return create_object<HdlValueId>(du, "$unit"); |
| 58 | } else { |
| 59 | auto id = ctx->identifier(); |
| 60 | assert(id); |
| 61 | return visitIdentifier(id); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | unique_ptr<iHdlExprItem> VerExprParser::visitPs_identifier( |
| 66 | sv2017Parser::Ps_identifierContext *ctx) { |
nothing calls this directly
no outgoing calls
no test coverage detected