static L<S> getSupportedQuestions_functionNames = litlist("match", "match3", "flexmatch"); static L<S> getSupportedQuestions(S programIDOrSrc) ctex { S src = isSnippetID(programIDOrSrc) ? loadSnippet(programIDOrSrc) : programIDOrSrc; new TreeSet<S> questions; L<S> tok = javaTok(src); for (int i = 1; i+4 < tok.size(); i += 2) if (getSupportedQuestions_functionNames.contains(tok.get(i)) && tok.get(i+2).equals("(") && isQuoted(tok.get(i+4))) questions.add(unquote(tok.get(i+4))); ret asList(questions); } static L<S> getSupportedQuestions() { ret getSupportedQuestions(myJavaSource()); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment