Export files are now directly under the module folder, e.g. `core/core.js`. With this, an import like `core/core` won’t need a path mapping (e.g. via `System.paths`) any more. This adds the `src` folder to all other import statements as well.
30 lines
1.2 KiB
JavaScript
30 lines
1.2 KiB
JavaScript
export {AST} from './src/parser/ast';
|
|
export {Lexer} from './src/parser/lexer';
|
|
export {Parser} from './src/parser/parser';
|
|
export {ContextWithVariableBindings} from './src/parser/context_with_variable_bindings';
|
|
|
|
export {ExpressionChangedAfterItHasBeenChecked, ChangeDetectionError} from './src/exceptions';
|
|
export {ChangeRecord, ChangeDispatcher, ChangeDetector} from './src/interfaces';
|
|
export {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
|
|
export {DynamicChangeDetector} from './src/dynamic_change_detector';
|
|
|
|
import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
|
|
|
|
export class ChangeDetection {
|
|
createProtoChangeDetector(name:string){}
|
|
}
|
|
|
|
export class DynamicChangeDetection extends ChangeDetection {
|
|
createProtoChangeDetector(name:string):ProtoChangeDetector{
|
|
return new DynamicProtoChangeDetector();
|
|
}
|
|
}
|
|
|
|
export class JitChangeDetection extends ChangeDetection {
|
|
createProtoChangeDetector(name:string):ProtoChangeDetector{
|
|
return new JitProtoChangeDetector();
|
|
}
|
|
}
|
|
|
|
export var dynamicChangeDetection = new DynamicChangeDetection();
|
|
export var jitChangeDetection = new JitChangeDetection(); |