Lines Matching refs:i
152 def nextPos (self, i): argument
154 i += 1
156 c = self.chars[i]
163 return i
165 def prevPos (self, i): argument
167 i -= 1
169 c = self.chars[i]
176 return i
189 i = 0
191 c = self.chars[i]
200 i = self.pound(i)
202 i = self.slash(i)
204 i = self.lineBreak(i)
206 i = self.doubleQuote(i)
208 i = self.blank(i)
211 i = self.anyToken(i, c)
216 i = self.nextPos(i)
243 def blank (self, i): argument
245 return i
248 return i
251 def pound (self, i): argument
254 return i
257 return i
268 i = self.nextPos(i)
269 c = self.chars[i]
270 if c == '\\' and self.chars[self.nextPos(i)] == "\n":
271 i = self.nextPos(i)
279 i = self.prevPos(i)
358 return i
445 def slash (self, i): argument
447 return i
449 if i < self.bufsize - 1 and self.chars[i+1] == '/':
452 i += 2
453 while i < self.bufsize:
454 c = self.chars[i]
456 return i - 1
458 i += 1
460 elif i < self.bufsize - 1 and self.chars[i+1] == '*':
462 i += 2
463 while i < self.bufsize:
464 c = self.chars[i]
465 if c == '/' and self.chars[i-1] == '*':
466 return i
468 i += 1
470 return self.anyToken(i, '/')
472 return i
475 def lineBreak (self, i): argument
477 return i
481 return i
484 def doubleQuote (self, i): argument
486 return i
489 i += 1
490 while i < self.bufsize:
491 c = self.chars[i]
496 i += 1
498 return i
501 def anyToken (self, i, token): argument
503 return i
508 return i