Warning: session_start(): open(/var/lib/php/sessions/sess_vqt2f9cqhu5d0e169g29bglq9g, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static void tok_timedCachedFunctions(LS tok) { pcall {
int i;
while ((i = jfind(tok, "static timedCached(*.*) ")) >= 0) {
int bracket1 = indexOf(tok, ")", i);
S time = joinSubList(tok, i+6, iBracket1-1);
int bracket = indexOf(tok, "(", iBracket1);
S fName = assertIdentifier(tok.get(bracket-2));
S type = joinSubList(tok, i+bracket1+2, bracket-3);
S boxedType = tok_toNonPrimitiveTypes(type);
replaceTokens(tok, i, bracket-1, "static TimedCache<\*boxedType*/> \*fName*/_cache = new TimedCache(\*time*/, f \*fName*/_load);\n"
+ "static \*type*/ \*fName*/() { ret \*fName*/_cache!; }\n\n" + "static \*boxedType*/ \*fName*/_load");
reTok(tok, i, bracket-3);
}
}}