p5-analysis
Version:
API to find, create, and analyze p5.js sketch files.
6 lines (5 loc) • 376 B
TypeScript
export declare const indentSymbol: unique symbol;
export declare const dedentSymbol: unique symbol;
export declare type IndentationSymbol = typeof indentSymbol | typeof dedentSymbol;
export declare type AsyncTreeInputIterable<T> = AsyncIterable<T | IndentationSymbol>;
export declare function printTree(iter: AsyncTreeInputIterable<string>, tabWidth?: number): Promise<void>;