Warning: session_start(): open(/var/lib/php/sessions/sess_4sh6rii5v8lb4edhef0lu73is9, 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 Set collectSnippetIDsInTranspiledSnippet(S snippetID) {
if (isImageSnippetID(snippetID)) ret new Set;
int type = getSnippetType(snippetID);
if (!isJavaxCompilableSnippetTypeExceptInclude(type))
ret new Set;
S src = getServerTranspiled2(snippetID);
//Set set = collectSnippetIDsInText(src);
Set set = collectSnippetIDsInJavaSource(dropFirstLine(src)); // skip comments
LS libs = map fsI(regexpAll("[0-9]+", firstLine(src));
print("Libs for " + snippetID + ": " + libs);
addAll(set, libs);
ret set;
}