Searched refs:is_keyword (Results 1 – 3 of 3) sorted by relevance
210 return tok.is_keyword or tok.is_name or tok.is_number or tok.is_string262 if ((right.is_keyword or right.is_name) and263 (left.is_keyword or left.is_name)):288 if left.is_keyword and _IsUnaryOperator(right):320 if left.is_keyword and rval == '.' or lval == '.' and right.is_keyword:
289 def is_keyword(self): member in FormatToken295 return self.node.type == token.NAME and not self.is_keyword
250 if (pptoken and not pptoken.is_name and not pptoken.is_keyword and430 if pprevious and not pprevious.is_keyword and not pprevious.is_name: