feat(transformers): collect data needed for the template compiler

Closes #7299
This commit is contained in:
vsavkin
2016-02-26 08:01:07 -08:00
committed by Victor Savkin
parent 1779caf5f8
commit ebe531bf92
38 changed files with 1187 additions and 193 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
import {ViewEncapsulation} from 'angular2/src/core/metadata/view';
import {Injector} from 'angular2/src/core/di/injector';
import {Injector, Injectable} from 'angular2/src/core/di';
export class RenderComponentType {
constructor(public id: string, public encapsulation: ViewEncapsulation,
@@ -13,6 +13,7 @@ export class RenderDebugInfo {
export interface ParentRenderer { renderComponent(componentType: RenderComponentType): Renderer; }
@Injectable()
export abstract class Renderer implements ParentRenderer {
abstract renderComponent(componentType: RenderComponentType): Renderer;