
committed by
Misko Hevery

parent
64ad74acbe
commit
5c25248582
@ -26,7 +26,7 @@ import 'recording_reflection_capabilities.dart';
|
||||
/// Angular 2 `View` annotations it declares to generate `getter`s,
|
||||
/// `setter`s, and `method`s that would otherwise be reflectively accessed.
|
||||
///
|
||||
/// This method assumes a [DomAdapter] has been registered.
|
||||
/// This method assumes a {@link DomAdapter} has been registered.
|
||||
Future<String> processTemplates(AssetReader reader, AssetId entryPoint) async {
|
||||
var parser = new Parser(reader);
|
||||
NgDeps ngDeps = await parser.parse(entryPoint);
|
||||
@ -163,7 +163,7 @@ class _TemplateExtractor {
|
||||
}
|
||||
|
||||
/// Visitor responsible for processing the `annotations` property of a
|
||||
/// [RegisterType] object and pulling out template text.
|
||||
/// {@link RegisterType} object and pulling out template text.
|
||||
class _TemplateExtractVisitor extends Object with RecursiveAstVisitor<Object> {
|
||||
final List<String> inlineValues = [];
|
||||
final List<String> urlValues = [];
|
||||
|
@ -12,9 +12,9 @@ import 'package:barback/barback.dart';
|
||||
|
||||
import 'generator.dart';
|
||||
|
||||
/// [Transformer] responsible for detecting and processing Angular 2 templates.
|
||||
/// {@link Transformer} responsible for detecting and processing Angular 2 templates.
|
||||
///
|
||||
/// [TemplateCompiler] uses the Angular 2 `Compiler` to process the templates,
|
||||
/// {@link TemplateCompiler} uses the Angular 2 `Compiler` to process the templates,
|
||||
/// extracting information about what reflection is necessary to render and
|
||||
/// use that template. It then generates code in place of those reflective
|
||||
/// accesses.
|
||||
|
Reference in New Issue
Block a user