| 1 | import type Scopescip-typescript npm @babel/traverse 7.20.13 src/scope/`index.ts`/Scope# from "./scope"scip-typescript npm @babel/traverse 7.20.13 src/scope/`index.ts`/; |
| 2 | import type { Nodescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/Node# } from "@babel/types"scip-typescript npm @babel/types 7.20.7 src/`index.ts`/; |
| 3 | |
| 4 | export interface HubInterfacescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface# { |
| 5 | getCodescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#getCode().(): string | void; |
| 6 | getScopescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#getScope().(): Scopescip-typescript npm @babel/traverse 7.20.13 src/scope/`index.ts`/Scope# | void; |
| 7 | addHelperscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#addHelper().(namescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#addHelper().(name): string): any; |
| 8 | buildErrorscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#buildError().(nodescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#buildError().(node): Nodescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/Node#, msgscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#buildError().(msg): string, Errorscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface#buildError().(Error): new () => Errorscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/Error#): Errorscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/Error#; |
| 9 | } |
| 10 | |
| 11 | export default class Hubscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub# implements HubInterfacescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/HubInterface# { |
| 12 | getCodescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#getCode().() {} |
| 13 | |
| 14 | getScopescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#getScope().() {} |
| 15 | |
| 16 | addHelperscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#addHelper().() { |
| 17 | throw new Errorscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/Error#("Helpers are not supported by the default hub."); |
| 18 | } |
| 19 | |
| 20 | buildErrorscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#buildError().(nodescip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#buildError().(node): Nodescip-typescript npm @babel/types 7.20.7 src/ast-types/generated/`index.ts`/Node#, msgscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#buildError().(msg): string, Errorscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#buildError().(Error) = TypeErrorscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/TypeError#): Errorscip-typescript npm typescript 5.9.3 lib/`lib.es5.d.ts`/Error# { |
| 21 | return new Errorscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#buildError().(Error)(msgscip-typescript npm @babel/traverse 7.20.13 src/`hub.ts`/Hub#buildError().(msg)); |
| 22 | } |
| 23 | } |