svoid tok_returnSelf(LS tok) { int i; mainLoop: while ((i = jfind(tok, "returnSelf ")) >= 0) { IntRange block = tok_findFirstBlock(tok, i); tok.set(i, "selfType"); tokPrepend(tok, block.end-1, " ret this; "); } }