docs: public void addChild(AstNode kid) {
          assertNotNull(kid);
          int end = kid.getPosition() + kid.getLength();
          setLength(end - this.getPosition());
          addChildToBack(kid);
          kid.setParent(this);
      }