fork of hey-api/openapi-ts because I need some additional things
at feat/skip-token 13 lines 467 B view raw
1import type { PyExpression } from './expression'; 2import type { PyNodeKind } from './kinds'; 3import type { PyStatement } from './statement'; 4import type { PyBlock } from './statements/block'; 5import type { PySourceFile } from './structure/sourceFile'; 6 7export interface PyNodeBase { 8 kind: PyNodeKind; 9 leadingComments?: ReadonlyArray<string>; 10 trailingComments?: ReadonlyArray<string>; 11} 12 13export type PyNode = PyBlock | PyExpression | PySourceFile | PyStatement;