Lines Matching refs:extent
237 conf.lib.clang_tokenize(self._tu, self._tu.cursor.extent,
1448 def _short_extent(extent): argument
1449 return '%d:%d - %d:%d' % (extent.start.line, extent.start.column,
1450 extent.end.line, extent.end.column)
1455 def consume_extent(i, tokens, extent=None, detect_change=False): argument
1464 if extent is None:
1465 extent = tokens[i].cursor.extent
1467 while i < len(tokens) and tokens[i].location in extent:
1471 if (detect_change and t.cursor.extent != extent and
1505 self._short_extent(cursor.extent)))
1523 extent = tokens[i].cursor.extent
1542 (i, ret) = consume_extent(i, tokens, extent=extent)