svoid tok_whileCast(LS tok) { jreplace(tok, "while ( cast ) {", "while ($3 instanceof $5) { cast $3 to $5;"); }