docs: public void setParent(AstNode parent) {
          if (parent == this.parent) {
              return;
          }
  
          // Convert position back to absolute.
          if (this.parent != null) {
              setRelative(-this.parent.getAbsolutePosition());
          }
  
          this.parent = parent;
          if (parent != null) {
              setRelative(parent.getAbsolutePosition());
          }
      }