angular-cn/modules/@angular/core/src/reflection
Tobias Bosch bf598d6b8b feat(compiler): support sync runtime compile
Adds new abstraction `Compiler` with methods
`compileComponentAsync` and `compileComponentSync`.
This is in preparation of deprecating `ComponentResolver`.

`compileComponentSync` is able to compile components
synchronously given all components either have an inline
template or they have been compiled before.

Also changes `TestComponentBuilder.createSync` to
take a `Type` and use the new `compileComponentSync` method.

Also supports overriding the component metadata even if
the component has already been compiled.

Also fixes #7084 in a better way.

BREAKING CHANGE:
`TestComponentBuilder.createSync` now takes a component type
and throws if not all templates are either inlined
are compiled before via `createAsync`.

Closes #9594
2016-06-28 10:26:16 -07:00
..
debug_reflection_capabilities.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
platform_reflection_capabilities.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
reflection.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
reflection.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
reflection_capabilities.dart fix(compiler): support lifecycle hooks in compiler_cli 2016-05-04 12:14:43 -07:00
reflection_capabilities.ts feat(compiler): support sync runtime compile 2016-06-28 10:26:16 -07:00
reflector.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
reflector_reader.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00
types.dart repackaging: all the file moves 2016-05-01 20:51:00 -07:00
types.ts chore(lint): Added license headers to most TypeScript files 2016-06-23 09:47:54 -07:00