UNPKG

2.19 kBSource Map (JSON)View Raw
1{"version":3,"file":"test_compiler.js","sourceRoot":"","sources":["../../../../modules/@angular/core/testing/test_compiler.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;;;;;OAEI,EAAC,QAAQ,EAAwE,MAAM,eAAe;OAEtG,EAAC,aAAa,EAAC,MAAM,iBAAiB;AAI7C;;;;GAIG;AACH;IAAqC,mCAAQ;IAA7C;QAAqC,8BAAQ;IAc7C,CAAC;IAbC,sBAAI,qCAAQ;aAAZ,cAA2B,MAAM,aAAa,EAAE,CAAC,CAAC,CAAC;;;OAAA;IACnD,wCAAc,GAAd,UAAe,MAAiB,EAAE,SAAqC;QACrE,MAAM,aAAa,EAAE,CAAC;IACxB,CAAC;IACD,2CAAiB,GAAjB,UAAkB,SAAoB,EAAE,SAAsC;QAC5E,MAAM,aAAa,EAAE,CAAC;IACxB,CAAC;IACD,2CAAiB,GAAjB,UAAkB,SAAoB,EAAE,SAAsC;QAC5E,MAAM,aAAa,EAAE,CAAC;IACxB,CAAC;IACD,sCAAY,GAAZ,UAAa,SAAoB,EAAE,SAAiC;QAClE,MAAM,aAAa,EAAE,CAAC;IACxB,CAAC;IACH,sBAAC;AAAD,CAAC,AAdD,CAAqC,QAAQ,GAc5C;AAED;;;;GAIG;AACH;IAAA;IAEA,CAAC;IAAD,6BAAC;AAAD,CAAC,AAFD,IAEC","sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Compiler, CompilerOptions, Component, Directive, Injector, NgModule, Pipe, Type} from '@angular/core';\n\nimport {unimplemented} from './facade/errors';\nimport {MetadataOverride} from './metadata_override';\n\n\n/**\n * Special interface to the compiler only used by testing\n *\n * @experimental\n */\nexport class TestingCompiler extends Compiler {\n get injector(): Injector { throw unimplemented(); }\n overrideModule(module: Type<any>, overrides: MetadataOverride<NgModule>): void {\n throw unimplemented();\n }\n overrideDirective(directive: Type<any>, overrides: MetadataOverride<Directive>): void {\n throw unimplemented();\n }\n overrideComponent(component: Type<any>, overrides: MetadataOverride<Component>): void {\n throw unimplemented();\n }\n overridePipe(directive: Type<any>, overrides: MetadataOverride<Pipe>): void {\n throw unimplemented();\n }\n}\n\n/**\n * A factory for creating a Compiler\n *\n * @experimental\n */\nexport abstract class TestingCompilerFactory {\n abstract createTestingCompiler(options?: CompilerOptions[]): TestingCompiler;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
\No newline at end of file