You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

scope.d.ts 715B

1234567891011121314151617181920212223242526
  1. import { Fork } from "../types";
  2. export interface Scope {
  3. path: any;
  4. node: any;
  5. isGlobal: boolean;
  6. depth: number;
  7. parent: any;
  8. bindings: any;
  9. types: any;
  10. didScan: boolean;
  11. declares(name: any): any;
  12. declaresType(name: any): any;
  13. declareTemporary(prefix?: any): any;
  14. injectTemporary(identifier: any, init: any): any;
  15. scan(force?: any): any;
  16. getBindings(): any;
  17. getTypes(): any;
  18. lookup(name: any): any;
  19. lookupType(name: any): any;
  20. getGlobalScope(): Scope;
  21. }
  22. export interface ScopeConstructor {
  23. new (path: any, parentScope: any): Scope;
  24. isEstablishedBy(node: any): any;
  25. }
  26. export default function scopePlugin(fork: Fork): ScopeConstructor;