@bikky/compiler 0.0.11 → 0.0.13
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/Libraries/GlobalTypes.d.ts +4 -1
- package/Source/ASTInterface/Crawler.js +1 -1
- package/Transformers/MacroTransformer.d.ts +0 -2
- package/Transformers/MacroTransformer.d.ts.map +1 -1
- package/Transformers/MacroTransformer.js +315 -281
- package/Transformers/MixinTransformer.d.ts.map +1 -1
- package/Transformers/MixinTransformer.js +33 -208
- package/Transformers/SuperTransformer.d.ts +0 -2
- package/Transformers/SuperTransformer.d.ts.map +1 -1
- package/Transformers/SuperTransformer.js +153 -137
- package/obj/Debug/BiscuitCompiler.njsproj.AssemblyReference.cache +0 -0
- package/package.json +2 -1
- package/tsconfig.build.libs.tsbuildinfo +1 -1
- package/tsconfig.build.src.tsbuildinfo +1 -1
|
@@ -20,6 +20,9 @@ type ConstructArguments<T> = T extends (new (...args: infer C) => any) ? C : nev
|
|
|
20
20
|
type Prototype<T> = (Function & { prototype: T });
|
|
21
21
|
type ObjectType<T> = T extends (new (...args: any[]) => infer C) ? C : never;
|
|
22
22
|
|
|
23
|
+
declare const _super: any;
|
|
24
|
+
declare const ERROR_INFO: string[];
|
|
25
|
+
|
|
23
26
|
//Unfortunately Typescript doesn't currently support the following typing (as in the decorator's typing
|
|
24
27
|
// information will not properly alter typescript's typing information):
|
|
25
28
|
//First set of params are the ones supplied in the decorator, like: @mixin(common, extra1, extra2);
|
|
@@ -61,6 +64,6 @@ declare function makeMixer<
|
|
|
61
64
|
ParentStatic extends ({[name: string]: any})>(core: Class<ParentObject> & ParentStatic) =>
|
|
62
65
|
((new (...args: ConstructorArgs) =>
|
|
63
66
|
(ParentObject & Mixin)) & ClassStatic<ParentStatic> & ClassStatic<MixinClass>
|
|
64
|
-
|
|
67
|
+
)
|
|
65
68
|
);
|
|
66
69
|
|
|
@@ -23,7 +23,7 @@ var Crawler;
|
|
|
23
23
|
function Crawl(start, callback) {
|
|
24
24
|
let crawlArray = (array) => {
|
|
25
25
|
for (let i = 0; i < array.length; i++) {
|
|
26
|
-
array[i] = ts.
|
|
26
|
+
array[i] = ts.visitNode(array[i], crawl);
|
|
27
27
|
}
|
|
28
28
|
array = array.flat(1);
|
|
29
29
|
return array;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MacroTransformer.d.ts","sourceRoot":"","sources":["MacroTransformer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MacroTransformer.d.ts","sourceRoot":"","sources":["MacroTransformer.ts"],"names":[],"mappings":""}
|