UI for Zipcoin Blue

convert-ast.d.ts 482B

1234567891011121314151617181920
  1. import * as ts from 'typescript';
  2. export interface NodeWrap {
  3. node: ts.Node;
  4. kind: ts.SyntaxKind;
  5. children: NodeWrap[];
  6. next?: NodeWrap;
  7. skip?: NodeWrap;
  8. parent?: NodeWrap;
  9. }
  10. export interface WrappedAst extends NodeWrap {
  11. next: NodeWrap;
  12. skip: undefined;
  13. parent: undefined;
  14. }
  15. export interface ConvertedAst {
  16. wrapped: WrappedAst;
  17. flat: ReadonlyArray<ts.Node>;
  18. }
  19. export declare function convertAst(sourceFile: ts.SourceFile): ConvertedAst;