UNPKG

univac

Version:

Generate AST of lots of common programming languages using antlr4. JavaScript API and CLI tool.

4 lines (3 loc) 212 B
import { GetAstOptions, Node } from './types'; export declare function parseAstOrThrow(options: GetAstOptions): Promise<Node>; export declare function parseAst(options: GetAstOptions): Promise<Node | undefined>;