UNPKG

@tricoteuses/arbre-de-la-loi

Version:

Generate ASTs from the French bills & laws; manipulate & export them to Markdown, etc.

24 lines (23 loc) 471 B
export interface UnistData { } export interface UnistNode { data?: UnistData; type: string; position?: UnistPosition; } export interface UnistLiteral extends UnistNode { value: any; } export interface UnistParent extends UnistNode { children: UnistNode[]; } export interface UnistPoint { column: number; line: number; offset?: number; } export interface UnistPosition { end: UnistPoint; start: UnistPoint; indent?: number[]; }