UNPKG

bhai-lang-parser

Version:
20 lines (18 loc) 422 B
declare type ASTNode = { type: string; body?: ASTNode | ASTNode[]; expressions?: ASTNode[]; expression?: ASTNode; operator?: string; name?: string; left?: ASTNode; right?: ASTNode; value?: string | number | null; id?: ASTNode; init?: ASTNode | null; declarations?: ASTNode[]; test?: ASTNode; consequent?: ASTNode; alternates?: ASTNode[]; }; export { ASTNode };