| 41 | } |
| 42 | |
| 43 | std::unique_ptr<HdlFunctionDef> VhdlSubProgramParser::visitSubprogram_specification( |
| 44 | vhdlParser::Subprogram_specificationContext *ctx) { |
| 45 | // subprogram_specification |
| 46 | // : procedure_specification |
| 47 | // | function_specification |
| 48 | // ; |
| 49 | |
| 50 | auto p = ctx->procedure_specification(); |
| 51 | if (p) |
| 52 | return visitProcedure_specification(p); |
| 53 | else |
| 54 | return visitFunction_specification(ctx->function_specification()); |
| 55 | } |
| 56 | |
| 57 | std::unique_ptr<HdlFunctionDef> VhdlSubProgramParser::visitProcedure_specification( |
| 58 | vhdlParser::Procedure_specificationContext *ctx) { |
nothing calls this directly
no outgoing calls
no test coverage detected