Page MenuHomec4science

getAst.d.ts
No OneTemporary

File Metadata

Created
Wed, Feb 5, 10:45

getAst.d.ts

import { Parser, Node as AcornNode, Options } from 'acorn';
export declare const ACORN_OPTIONS: Options;
/**
* Parse source code with Acorn and return AST, returns undefined in case of errors
*/
export default function getAst(code: string, plugins?: ((BaseParser: typeof Parser) => typeof Parser)[]): AcornNode | undefined;

Event Timeline