Lines Matching refs:conds
4661 function handlePreprocessorConditions(array &$conds, Stmt $stmt): ?string { argument
4665 $conds[] = $matches[1];
4667 $conds[] = "defined($matches[1])";
4669 $conds[] = "!defined($matches[1])";
4671 if (empty($conds)) {
4674 $cond = array_pop($conds);
4675 $conds[] = "!($cond)";
4677 if (empty($conds)) {
4680 array_pop($conds);
4686 return empty($conds) ? null : implode(' && ', $conds);
4708 $conds = [];
4710 $cond = handlePreprocessorConditions($conds, $stmt);
4760 $cond = handlePreprocessorConditions($conds, $classStmt);
4838 if (!empty($conds)) {