docs: public @Nonnull Optional<XQuery> parent() {
          synchronized (this) {
              if (parent.get() == null) {
                  parent.set(Optional.ofNullable(node.getParentNode()).map(XQuery::new));
              }
          }
          return parent.get();
      }