Searched refs:is_keyword (Results 1 – 8 of 8) sorted by relevance
181 return tok.is_keyword or tok.is_name or tok.is_number or tok.is_string232 if ((right.is_keyword or right.is_name) and233 (left.is_keyword or left.is_name)):
247 def is_keyword(self): member in FormatToken253 return self.node.type == token.NAME and not self.is_keyword
355 if pprevious and not pprevious.is_keyword and not pprevious.is_name:
87 let is_keyword = repr.chars().next().unwrap().is_alphabetic(); in visit() localVariable88 let spans = if is_keyword { in visit()
67 let is_keyword = repr.chars().next().unwrap().is_alphabetic(); in visit() localVariable68 let spans = if is_keyword { in visit()
2277 _PyPegen_keyword_or_starred(Parser *p, void *element, int is_keyword) in _PyPegen_keyword_or_starred() argument2284 a->is_keyword = is_keyword; in _PyPegen_keyword_or_starred()2295 if (!k->is_keyword) { in _seq_number_of_starred_exprs()2318 if (!k->is_keyword) { in _PyPegen_seq_extract_starred_exprs()2342 if (k->is_keyword) { in _PyPegen_seq_delete_starred_exprs()
115 int is_keyword; member