static Set collectSnippetIDsInTranspiledSnippet(S snippetID) { if (isImageSnippetID(snippetID) || getSnippetType(snippetID) == snippetType_data()) ret new Set; S src = getServerTranspiled2(snippetID); Set set = collectSnippetIDsInText(src); addAll(set, map fsI(regexpAll("[0-9]+", firstLine(src))); ret set; }