2015-02-02 19:25:34 -05:00
|
|
|
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';
|
2015-01-14 16:51:16 -05:00
|
|
|
|
2015-02-02 19:25:34 -05:00
|
|
|
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';
|
2015-01-21 15:05:52 -05:00
|
|
|
|
2015-02-02 19:25:34 -05:00
|
|
|
import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector} from './src/proto_change_detector';
|
2015-01-21 15:05:52 -05:00
|
|
|
|
|
|
|
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();
|