static bool ctxEvalCondition(S cond) { cond = ctxUnbracket(cond); L tok = javaTok(cond); S t = get(tok, 1); if (isQuoted(t)) ret ctxEvalPattern(unquoteCtx(t)); if (isIdentifier(t) && ( l(tok) == 9 && eqGet(tok, 3, "=") && eqGet(tok, 5, "=") && eqGetIC(tok, 7, "true") || l(tok) == 3)) ret eqic(t, "TRUE") || eqic(ctxGetVar(t), "TRUE"); Bool b = woodyEvalTimeCondition(cond); if (b != null) ret b; CtxExpr exp = ctxParseExpression(cond); ret exp.get(); }