refactor(ivy): simplify walkTNodeTree method for readability (#31182)

PR Close #31182
This commit is contained in:
Misko Hevery
2019-06-07 20:46:11 -07:00
committed by Kara Erickson
parent 7186f9c016
commit 29a9909232
7 changed files with 342 additions and 195 deletions

View File

@ -438,7 +438,7 @@ export interface TNode {
* - This would return the first head node to project:
* `getHost(currentTNode).projection[currentTNode.projection]`.
* - When projecting nodes the parent node retrieved may be a `<ng-content>` node, in which case
* the process is recursive in nature (not implementation).
* the process is recursive in nature.
*
* If `projection` is of type `RNode[][]` than we have a collection of native nodes passed as
* projectable nodes during dynamic component creation.