Lines Matching refs:cursor
106 cursor=None): argument
111 self._cursor = cursor
132 def cursor(self): member in Token
134 self._cursor = clang.cindex.Token.cursor
137 @cursor.setter
138 def cursor(self, new_cursor): member in Token
234 conf.lib.clang_tokenize(self._tu, self._tu.cursor.extent,
261 cursor=cursors[i])
1064 elif t.id == ',' and t.cursor.kind == CursorKind.ENUM_DECL:
1508 extent = tokens[i].cursor.extent
1513 print(' ' * 2, t.id, t.kind, t.cursor.kind)
1514 if (detect_change and t.cursor.extent != extent and
1515 t.cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE):
1526 if tokens[i].cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE:
1542 cursor = t.cursor
1547 cursor.kind,
1548 self._short_extent(cursor.extent)))
1550 if cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE:
1566 extent = tokens[i].cursor.extent
1594 elif cursor.kind == CursorKind.INCLUSION_DIRECTIVE:
1604 elif cursor.kind == CursorKind.VAR_DECL:
1612 elif cursor.kind == CursorKind.FUNCTION_DECL: