you too
This commit is contained in:
parent
f160093c4d
commit
5ad6125527
|
|
@ -95,7 +95,7 @@ export function compileCode(code: string, globals?: Record<string, any>): Byteco
|
||||||
return compiler.bytecode
|
return compiler.bytecode
|
||||||
}
|
}
|
||||||
|
|
||||||
export function parseFile(path: string, globals?: Record<string, any>): SyntaxNode {
|
export function parseFile(path: string, globals?: Record<string, any>): Tree {
|
||||||
const code = readFileSync(path, 'utf-8')
|
const code = readFileSync(path, 'utf-8')
|
||||||
return parseCode(code, globals)
|
return parseCode(code, globals)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user