(line, pos1)
| 348 | |
| 349 | @staticmethod |
| 350 | def _parseStringComparison(line, pos1): |
| 351 | startPos = 0 |
| 352 | pos = pos1 |
| 353 | inString = False |
| 354 | while pos < len(line): |
| 355 | if inString: |
| 356 | if line[pos] == '\\': |
| 357 | pos += 1 |
| 358 | elif line[pos] == '"': |
| 359 | inString = False |
| 360 | endPos = pos + 1 |
| 361 | return startPos, endPos |
| 362 | elif line[pos] == '"': |
| 363 | startPos = pos |
| 364 | inString = True |
| 365 | pos += 1 |
| 366 | |
| 367 | return None |
| 368 | |
| 369 | @staticmethod |
| 370 | def _compileVerifyTokenMatch( |
no outgoing calls