NodeReference.ngContent constructor

NodeReference.ngContent(
  1. CompileViewStorage? _storage,
  2. int nodeIndex
)

Creates a NodeReference for a ng-content node.

Implementation

NodeReference.ngContent(
  this._storage,
  int nodeIndex,
)   : _type = o.importType(Identifiers.NgContentRef),
      _name = '_ngContent_$nodeIndex',
      _initialValue = null;