static ALQLLine agiBlue_parseQueryLine(S s) { LS tok = javaTokWithBrackets(s); // TODO: improve jmatch and use here if (lCodeTokens(tok) == 2 && eqGet(tok, 1, "return") && isIdentifier(get(tok, 3))) ret ALQLReturn(tok.get(3)); LS split = tok_splitAtSlashes(tok); if (l(split) == 3) ret ALQLTriple(listToTriple(split)); fail("Can't parse ALQL line: " + s); }