(tok,i)
| 3204 | indent = 0 |
| 3205 | tok1 = None |
| 3206 | def tokAt(tok,i): |
| 3207 | while i < 0 and tok: |
| 3208 | tok = tok.previous |
| 3209 | if tok.str.startswith('//') or tok.str.startswith('/*'): |
| 3210 | continue |
| 3211 | i += 1 |
| 3212 | while i > 0 and tok: |
| 3213 | tok = tok.next |
| 3214 | if tok.str.startswith('//') or tok.str.startswith('/*'): |
| 3215 | continue |
| 3216 | i -= 1 |
| 3217 | return tok |
| 3218 | |
| 3219 | def strtokens(tok, i1, i2): |
| 3220 | tok1 = tokAt(tok, i1) |
no outgoing calls