MCPcopy Index your code
hub / github.com/rollup/rollup / convertProgram

Function convertProgram

src/ast/bufferParsers.ts:109–115  ·  view source on GitHub ↗
(
	buffer: Buffer | Uint8Array,
	parent: Node | { context: AstContext; type: string },
	parentScope: ModuleScope
)

Source from the content-addressed store, hash-verified

107import type ParameterVariable from './variables/ParameterVariable';
108
109export 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
117const nodeTypeStrings = [
118 'PanicError',

Callers 1

setSourceMethod · 0.90

Calls 2

convertNodeFunction · 0.90
getAstBufferFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…