(String line)
| 45 | } |
| 46 | |
| 47 | public static boolean isExp(String line) { |
| 48 | if (line.contains("=")) { |
| 49 | if (line.contains("if")) { |
| 50 | return isExp(line.substring(0, line.indexOf("if"))); |
| 51 | } else { |
| 52 | String l2 = line.substring(0, line.indexOf('=')); |
| 53 | return Utils.isIdentifier(Utils.realTrim(l2)) || l2.contains("("); |
| 54 | } |
| 55 | } else |
| 56 | return false; |
| 57 | } |
| 58 | } |
no test coverage detected