Lines Matching refs:kind
150 kind = "HEADER_NAME"
154 kind = mo.lastgroup
155 if kind != "WHITESPACE":
159 kind = mo.lastgroup
166 if kind in ("WHITESPACE", "BLOCK_COMMENT", "LINE_COMMENT",
175 if kind == "LINE_COMMENT" or (kind == "WHITESPACE" and adj_line_start):
179 if kind == "PUNCTUATOR" and text == "#" and at_bol:
181 elif kind == "IDENT" and directive == "<null>":
188 if kind == "BAD_BLOCK_COM":
192 kind = "BLOCK_COMMENT"
193 elif kind == "BAD_STRING":
197 kind = "STRING"
198 elif kind == "BAD_CHARCONST":
202 kind = "CHARCONST"
204 tok = Token(kind, text, line, column+1,
209 if kind == "OTHER" and directive != "define":
278 if (tok.kind == "IDENT"
282 elif tok.kind == "PUNCTUATOR" and tok.text == ";" and self.in_typedef:
284 if self.prev_token.kind == "IDENT":
299 and self.prev_token.kind == "IDENT"
318 if tok.kind in ("WHITESPACE", "BLOCK_COMMENT",
322 elif (tok.kind == "IDENT" and tok.text == "typedef"
329 elif tok.kind == "PUNCTUATOR" and tok.text == ";":
341 if tok.kind == "IDENT" and OBSOLETE_TYPE_RE_.match(tok.text):
346 if self.typedef_tokens[-1].kind == "IDENT":
358 if ntok == 3 and toks[1].kind == "IDENT":
372 and toks[1].kind == "IDENT" and toks[1].text == "unsigned"
373 and toks[2].kind == "IDENT" and toks[2].text == "long"
374 and toks[3].kind == "IDENT" and toks[3].text == "int"):
378 and toks[1].kind == "IDENT" and toks[1].text == "unsigned"
379 and toks[2].kind == "IDENT" and toks[2].text == "short"
380 and toks[3].kind == "IDENT" and toks[3].text == "int"):
384 and toks[1].kind == "IDENT" and toks[1].text == "unsigned"
385 and toks[2].kind == "IDENT" and toks[2].text == "int"):