angular/packages/compiler-cli
Pete Bacon Darwin 05672ab136 refactor(compiler-cli): attachComments() now expects a defined leadingComments array (#39076)
Previously the value passed to `AstFactory.attachComments()` could be
`undefined` which is counterintuitive, since why attach something that
doesn't exist? Now it expects there to be a defined array. Further it no
longer returns a statement. Both these aspects of the interface were designed
to make the usage simpler but has the result of complicating the implemenation.

The `ExpressionTranslatorVisitor` now has a helper function (`attachComments()`)
to handle `leadingComments` being undefined and also returning the statement.
This keeps the usage in the translator simple, while ensuring that the `AstFactory`
API is not influenced by how it is used.

PR Close #39076
2020-10-06 11:33:55 -07:00
..
integrationtest fix(bazel): ng_module rule does not expose flat module information in Ivy (#36971) 2020-07-09 22:11:17 +00:00
linker refactor(compiler-cli): attachComments() now expects a defined leadingComments array (#39076) 2020-10-06 11:33:55 -07:00
ngcc refactor(compiler-cli): setup compilation mode to enable generating linker code (#38938) 2020-09-30 12:49:16 -07:00
src refactor(compiler-cli): attachComments() now expects a defined leadingComments array (#39076) 2020-10-06 11:33:55 -07:00
test test(compiler-cli): run compliance tests for two compilation modes … (#38938) 2020-09-30 12:49:16 -07:00
BUILD.bazel Revert "build: upgrade angular build, integration/bazel and @angular/bazel package to rule_nodejs 2.2.0 (#37727)" (#39097) 2020-10-02 10:56:53 -07:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json refactor(compiler-cli): implement BabelAstFactory and AstHosts (#38866) 2020-10-01 09:32:12 -07:00
tsconfig-build.json build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
tsconfig.json perf(ivy): ngcc - only find dependencies when targeting a single entry-point (#30525) 2019-07-09 09:40:46 -07:00