Lines Matching full:foreach
1355 # Since function calls often occur inside if/for/foreach/while/switch
1370 # Except in if/for/foreach/while/switch, there should never be space
1384 not search(r'\b(if|for|foreach|while|switch|return|new|delete)\b', function_call)
1800 matched = search(r' (if\(|for\(|foreach\(|while\(|switch\()', line)
1805 # For if/for/foreach/while/switch, the left and right parens should be
1810 matched = search(r'\b(?P<statement>if|for|foreach|while|switch)\s*\((?P<remainder>.*)$', line)
2121 or search(r'\b(if|for|foreach|while|switch|else)\b', previous_line))
2127 and not search(r'\b(if|for|foreach|while|switch)\b', line)
2138 and search(r'\b(if|for|foreach|while|else)\b', previous_line)):