export class TemplateCompiler
export class TemplateCompiler
exported from angular2/compiler defined in angular2/src/compiler/template_compiler.ts (line 33)
An internal module of the Angular compiler that begins with component types, extracts templates, and eventually produces a compiled version of the component ready for linking into an application.
Annotations
@Injectable()
@Injectable()
Constructor
constructor(_runtimeMetadataResolver: RuntimeMetadataResolver, _templateNormalizer: TemplateNormalizer, _templateParser: TemplateParser, _styleCompiler: StyleCompiler, _commandCompiler: CommandCompiler, _cdCompiler: ChangeDetectionCompiler)
constructor(_runtimeMetadataResolver: RuntimeMetadataResolver, _templateNormalizer: TemplateNormalizer, _templateParser: TemplateParser, _styleCompiler: StyleCompiler, _commandCompiler: CommandCompiler, _cdCompiler: ChangeDetectionCompiler)
Not Yet Documented
Members
normalizeDirectiveMetadata(directive: CompileDirectiveMetadata) : Promise<CompileDirectiveMetadata>
normalizeDirectiveMetadata(directive: CompileDirectiveMetadata) : Promise<CompileDirectiveMetadata>
Not Yet Documented
compileHostComponentRuntime(type: Type) : Promise<CompiledHostTemplate>
compileHostComponentRuntime(type: Type) : Promise<CompiledHostTemplate>
Not Yet Documented
clearCache()
clearCache()
Not Yet Documented
compileTemplatesCodeGen(components: NormalizedComponentWithViewDirectives[]) : SourceModule
compileTemplatesCodeGen(components: NormalizedComponentWithViewDirectives[]) : SourceModule
Not Yet Documented
compileStylesheetCodeGen(stylesheetUrl: string, cssText: string) : SourceModule[]
compileStylesheetCodeGen(stylesheetUrl: string, cssText: string) : SourceModule[]
Not Yet Documented