(expr)
| 1043 | |
| 1044 | |
| 1045 | def isEnumConstant(expr): |
| 1046 | if not expr or not expr.values: |
| 1047 | return False |
| 1048 | values = expr.values |
| 1049 | return len(values) == 1 and values[0].valueKind == 'known' |
| 1050 | |
| 1051 | |
| 1052 | def isConstantExpression(expr): |
no outgoing calls
no test coverage detected