Lines Matching refs:kind
145 elif self.kind == TokenKind.IDENTIFIER:
264 if token.kind != TokenKind.COMMENT:
486 if self.tokens[self._index].kind != TokenKind.LITERAL:
538 if t.kind != TokenKind.IDENTIFIER:
553 if t.kind != TokenKind.IDENTIFIER:
623 elif op.id == '+' or op.id == '-' or op.kind == TokenKind.LITERAL:
629 elif op.kind == TokenKind.IDENTIFIER:
1072 tokens[i+1].kind == TokenKind.IDENTIFIER)):
1084 elif t.id == ',' and t.cursor.kind == CursorKind.ENUM_DECL:
1354 if b.tokens[j].kind == TokenKind.IDENTIFIER:
1398 if tok.kind == TokenKind.IDENTIFIER:
1474 print ' ' * 2, t.id, t.kind, t.cursor.kind
1476 t.cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE):
1487 if tokens[i].cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE:
1507 "extent=[%s]" % (t.location.line, t.spelling, t.kind,
1508 cursor.kind,
1511 if cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE:
1555 elif cursor.kind == CursorKind.INCLUSION_DIRECTIVE:
1565 elif cursor.kind == CursorKind.VAR_DECL:
1573 elif cursor.kind == CursorKind.FUNCTION_DECL: