MCPcopy Create free account
hub / github.com/Nic30/hdlConvertor / visitBit_select

Method visitBit_select

src/svConvertor/exprParser.cpp:464–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464unique_ptr<iHdlExprItem> VerExprParser::visitBit_select(
465 sv2017Parser::Bit_selectContext *ctx,
466 unique_ptr<iHdlExprItem> selected_name) {
467 // bit_select: LSQUARE_BR expression RSQUARE_BR;
468 auto _e = ctx->expression();
469 auto e = visitExpression(_e);
470 return append_expr(_e, move(selected_name), HdlOpType::INDEX, move(e));
471}
472
473unique_ptr<iHdlExprItem> VerExprParser::visitIdentifier_with_bit_select(
474 sv2017Parser::Identifier_with_bit_selectContext *ctx,

Callers 1

visitPrimaryBitSelectMethod · 0.80

Calls 1

append_exprFunction · 0.85

Tested by

no test coverage detected