brighterscript 0.41.6 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/Program.js +10 -1
- package/dist/Program.js.map +1 -1
- package/dist/Scope.js +1 -1
- package/dist/Scope.js.map +1 -1
- package/dist/astUtils/AstEditor.d.ts +27 -0
- package/dist/astUtils/AstEditor.js +97 -0
- package/dist/astUtils/AstEditor.js.map +1 -0
- package/dist/astUtils/AstEditor.spec.d.ts +1 -0
- package/dist/astUtils/AstEditor.spec.js +133 -0
- package/dist/astUtils/AstEditor.spec.js.map +1 -0
- package/dist/globalCallables.d.ts +3 -1
- package/dist/globalCallables.js +200 -100
- package/dist/globalCallables.js.map +1 -1
- package/dist/interfaces.d.ts +28 -3
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { BrsFile } from './files/BrsFile';
|
|
2
2
|
import type { Callable } from './interfaces';
|
|
3
3
|
export declare let globalFile: BrsFile;
|
|
4
|
-
|
|
4
|
+
declare type GlobalCallable = Pick<Callable, 'name' | 'shortDescription' | 'type' | 'file' | 'params' | 'documentation' | 'isDeprecated' | 'nameRange'>;
|
|
5
|
+
export declare let globalCallables: GlobalCallable[];
|
|
5
6
|
/**
|
|
6
7
|
* A map of all built-in function names. We use this extensively in scope validation
|
|
7
8
|
* so keep a single copy in memory to improve performance
|
|
8
9
|
*/
|
|
9
10
|
export declare const globalCallableMap: Map<string, Callable>;
|
|
11
|
+
export {};
|