Lines Matching refs:kind
144 elif self.kind == TokenKind.IDENTIFIER:
263 if token.kind != TokenKind.COMMENT:
460 if self.tokens[self._index].kind != TokenKind.LITERAL:
512 if t.kind != TokenKind.IDENTIFIER:
527 if t.kind != TokenKind.IDENTIFIER:
597 elif op.id == '+' or op.id == '-' or op.kind == TokenKind.LITERAL:
603 elif op.kind == TokenKind.IDENTIFIER:
1052 tokens[i+1].kind == TokenKind.IDENTIFIER)):
1064 elif t.id == ',' and t.cursor.kind == CursorKind.ENUM_DECL:
1219 if (b.tokens[i].kind != TokenKind.KEYWORD or
1223 if (b.tokens[i + 1].kind == TokenKind.IDENTIFIER and
1224 b.tokens[i + 2].kind == TokenKind.PUNCTUATION and
1231 if (b.tokens[j].kind == TokenKind.PUNCTUATION and
1233 b.tokens[j + 1].kind == TokenKind.PUNCTUATION and
1348 block.tokens[i-1].kind == TokenKind.IDENTIFIER and
1381 elif block.tokens[i].kind == TokenKind.IDENTIFIER:
1414 if (tok.kind == TokenKind.KEYWORD and tok.id == 'struct'
1431 if tok.kind == TokenKind.IDENTIFIER:
1513 print ' ' * 2, t.id, t.kind, t.cursor.kind
1515 t.cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE):
1526 if tokens[i].cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE:
1546 "extent=[%s]" % (t.location.line, t.spelling, t.kind,
1547 cursor.kind,
1550 if cursor.kind == CursorKind.PREPROCESSING_DIRECTIVE:
1594 elif cursor.kind == CursorKind.INCLUSION_DIRECTIVE:
1604 elif cursor.kind == CursorKind.VAR_DECL:
1612 elif cursor.kind == CursorKind.FUNCTION_DECL: