case '{' :
blockDepth++; startedBody = true; break;
case '}' :
if (--blockDepth == 0 && startedBody) {
next();
return new JSONFunction(buf.toString());
}
break;
case CharacterIterator.DONE:
throw ScriptRuntime.constructError("SyntaxError", "Unexpected end of JSON String");
case '/' :