getRoot () {
    let node = this
    while (node.parent) {
      node = node.parent
    }
    return node
  }
Get the root node.

    The root node is the last ancestor returned
    by a sequence of `getParent()` calls.

    @returns {DocumentNode}