// currently only prints method invocation (not result) // because the latter is currently too complicated // (but AI is coming soon!) svoid tok_scaffoldedFunctions() { for (int i : jrfindAll_any(tok, "scaffolded ", scaffolded <")) { int iBody = tok_scanMethodHead_idx(tok); if (!eqGet(tok, iBody, "{")) continue; int iBodyEnd = tok_scanBlock_idx(tok, iBody)-2; tokAppend(tok, iBody, " if (scaffold != null) print({"); //tokAppend(tok, iBody, " try {"); //tokPrepend_reTok(tok, iBodyEnd, "} finally { }"); } }