(
buffer: Buffer | Uint8Array,
parent: Node | { context: AstContext; type: string },
parentScope: ModuleScope
)
| 107 | import type ParameterVariable from './variables/ParameterVariable'; |
| 108 | |
| 109 | export function convertProgram( |
| 110 | buffer: Buffer | Uint8Array, |
| 111 | parent: Node | { context: AstContext; type: string }, |
| 112 | parentScope: ModuleScope |
| 113 | ): Program { |
| 114 | return convertNode(parent, parentScope, 0, getAstBuffer(buffer)); |
| 115 | } |
| 116 | |
| 117 | const nodeTypeStrings = [ |
| 118 | 'PanicError', |
no test coverage detected
searching dependent graphs…