(ctx: FunctionBodyContext)
| 151 | } |
| 152 | |
| 153 | visitFunctionBody(ctx: FunctionBodyContext): BlockNode { |
| 154 | const statements = ctx.statement_list().map((s) => this.visit(s) as StatementNode); |
| 155 | const block = new BlockNode(statements); |
| 156 | block.location = Location.fromCtx(ctx); |
| 157 | return block; |
| 158 | } |
| 159 | |
| 160 | visitParameter(ctx: ParameterContext): ParameterNode { |
| 161 | const type = parseType(ctx.typeName().getText()); |
no test coverage detected