(parent: LFrame | null)
| 668 | } |
| 669 | |
| 670 | function createLFrame(parent: LFrame | null): LFrame { |
| 671 | const lFrame: LFrame = { |
| 672 | currentTNode: null, |
| 673 | isParent: true, |
| 674 | lView: null!, |
| 675 | tView: null!, |
| 676 | selectedIndex: -1, |
| 677 | contextLView: null, |
| 678 | elementDepthCount: 0, |
| 679 | currentNamespace: null, |
| 680 | currentDirectiveIndex: -1, |
| 681 | bindingRootIndex: -1, |
| 682 | bindingIndex: -1, |
| 683 | currentQueryIndex: 0, |
| 684 | parent: parent!, |
| 685 | child: null, |
| 686 | inI18n: false, |
| 687 | }; |
| 688 | parent !== null && (parent.child = lFrame); // link the new LFrame for reuse. |
| 689 | return lFrame; |
| 690 | } |
| 691 | |
| 692 | /** |
| 693 | * A lightweight version of leave which is used with DI. |
no outgoing calls
no test coverage detected
searching dependent graphs…