docs: function getParentState(state, rootView) {
      var node;
      if ((node = state[HOST_NODE]) && node.tNode.type === 2 /* View */) {
          // if it's an embedded view, the state needs to go up to the container, in case the
          // container has a next
          return getParentLNode(node).data;
      }
      else {
          // otherwise, use parent view for containers or component views
          return state[PARENT] === rootView ? null : state[PARENT];
      }
  }