Raw template text.
What to look for.
Hits ordered by offset. Returns [] when the template cannot be
parsed at all.
Pure function over template text; it knows nothing about ts-morph. The
project-level lookup (which templates belong to which class, selector and
pipe resolution) lives in TemplateUsageFinder. Positions are
offsets into the template text so callers can map them to external
.html files or to inline template: literals.
Parses a single Angular template with
@angular/compilerand reports where a selector, pipe, class member, or input/output binding is used.