angular-docs-cn/packages/compiler
Ayaz Hafiz b04488d692 feat(compiler): record absolute span of template expressions in parser (#31897)
Currently, the spans of expressions are recorded only relative to the
template node that they reside in, not their source file.

Introduce a `sourceSpan` property on expression ASTs that records the
location of an expression relative to the entire source code file that
it is in. This may allow for reducing duplication of effort in
ngtsc/typecheck/src/diagnostics later on as well.

Child of #31898

PR Close #31897
2019-10-14 20:14:16 +00:00
..
design refactor(core): rename ngDirectiveDef to ɵdir (#33110) 2019-10-14 16:20:11 +00:00
src feat(compiler): record absolute span of template expressions in parser (#31897) 2019-10-14 20:14:16 +00:00
test feat(compiler): record absolute span of template expressions in parser (#31897) 2019-10-14 20:14:16 +00:00
testing build: remove unreferenced tsconfig-build.json files (#30858) 2019-06-05 09:03:36 -07:00
BUILD.bazel build: convert entry_point to label (#30627) 2019-06-11 00:03:11 +00:00
compiler.ts build: roll up to named .js files rather than 'index.js' (#19190) 2017-09-19 16:59:18 -07:00
index.ts build: roll up to named .js files rather than 'index.js' (#19190) 2017-09-19 16:59:18 -07:00
package.json feat: change tslib from direct dependency to peerDependency (#32167) 2019-10-14 16:34:47 +00:00
public_api.ts build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00