text: public CanonicalTreeParser next() {CanonicalTreeParser p = this;for (;;) {if (p.nextPtr == p.raw.length) {if (p.parent == null) {p.currPtr = p.nextPtr;return p;}p = (CanonicalTreeParser) p.parent;continue;}p.prevPtr = p.currPtr;p.currPtr = p.nextPtr;p.parseEntry();return p;}}