(program: string)
| 17 | const parse = (src: string) => parser.parse(src) as PreprocessorProgram; |
| 18 | |
| 19 | const debugProgram = (program: string): void => { |
| 20 | debugAst(parse(program)); |
| 21 | }; |
| 22 | |
| 23 | const debugAst = (ast: any) => { |
| 24 | console.log(util.inspect(ast, false, null, true)); |