UNPKG

cannabis

Version:
12 lines (11 loc) 441 B
import { ASTNode } from './astNode'; interface NodePathOptions { onlyIndex?: boolean; onlyKindName?: boolean; onlyNameOrKind?: boolean; } export declare function getASTNodePath(n: ASTNode, options?: NodePathOptions): string; export declare function getASTNodeIndexPath(n: ASTNode): string; export declare function getASTNodeKindPath(n: ASTNode): string; export declare function getASTNodeNamePath(n: ASTNode): string; export {};