Searched refs:is_syntax (Results 1 – 6 of 6) sorted by relevance
49 def assertInvalid(self, str, symbol='single', is_syntax=1): argument55 self.assertTrue(is_syntax)57 self.assertTrue(not is_syntax)
50 def assertInvalid(self, str, symbol='single', is_syntax=1): argument56 self.assertTrue(is_syntax)58 self.assertTrue(not is_syntax)
161 pub fn is_syntax(&self) -> bool { in is_syntax() method
81 pub fn is_syntax(&self) -> bool { in is_syntax() method
1273 is_syntax = (var_token.token_type == tokenize.SYNTAX and1278 if is_syntax and not is_variable:1291 if is_syntax or (is_variable and not self._handling_typedef):
745 assert!(err.is_syntax()); in attempt_stack_overflow()