code: function _composeNode(node) {
      var this$1 = this;
  
      var children = [];
      var c$ = tree.Logical.getChildNodes(node.shadyRoot || node);
      for (var i = 0; i < c$.length; i++) {
        var child = c$[i];
        if (this$1._distributor.isInsertionPoint(child)) {
          var distributedNodes = child._distributedNodes ||
            (child._distributedNodes = []);
          for (var j = 0; j < distributedNodes.length; j++) {
            var distributedNode = distributedNodes[j];
            if (this$1.isFinalDestination(child, distributedNode)) {
              children.push(distributedNode);
            }
          }
        } else {
          children.push(child);
        }
      }
      return children;
    }
docs: Returns the list of nodes which should be rendered inside `node`.