(token)
| 1227 | |
| 1228 | |
| 1229 | def isTernaryOperator(token): |
| 1230 | if not token: |
| 1231 | return False |
| 1232 | if not token.astOperand2: |
| 1233 | return False |
| 1234 | return token.str == '?' and token.astOperand2.str == ':' |
| 1235 | |
| 1236 | |
| 1237 | def getTernaryOperandsRecursive(token): |
no outgoing calls
no test coverage detected