Warning: session_start(): open(/var/lib/php/sessions/sess_mejsd8nekf8p4ghmq9re117mo4, 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
abstract sclass CtxExpr {
abstract bool get(S s);
}
CtxExpr > CtxNeg {
CtxExpr e;
*() {}
*(CtxExpr *e) {}
bool get(S s) { ret !e.get(s); }
}
CtxExpr > CtxAnd {
CtxExpr a, b;
*() {}
*(CtxExpr *a, CtxExpr *b) {}
bool get(S s) { ret a.get(s) && b.get(s); }
}
CtxExpr > CtxOr {
CtxExpr a, b;
*() {}
*(CtxExpr *a, CtxExpr *b) {}
bool get(S s) { ret a.get(s) || b.get(s); }
}
CtxExpr > CtxRegexp {
S pattern;
*() {}
*(S *pattern) {}
bool get(S s) { ret evalPattern(pattern, s); }
}