({ parseSrc }: Context)
| 125 | }; |
| 126 | |
| 127 | const debugStatement = ({ parseSrc }: Context) => (stmt: AstNode) => { |
| 128 | const program = `void main() {/* start */${stmt}/* end */}`; |
| 129 | const ast = parseSrc(program); |
| 130 | inspect((ast.program[0] as FunctionNode).body.statements[0]); |
| 131 | }; |
| 132 | |
| 133 | const expectParsedStatement = ({ parseSrc }: Context) => ( |
| 134 | src: string, |
no test coverage detected