Searched refs:is_generator (Results 1 – 4 of 4) sorted by relevance
55 def is_generator(iterator): function58 self.assertTrue(is_generator(tests))
235 bool is_generator, in IsValidIdentifier() argument239 if (token == YIELD) return !is_generator && is_sloppy(language_mode); in IsValidIdentifier()
1055 bool is_generator() const { in is_generator() function1670 if (!Token::IsValidIdentifier(next, language_mode(), is_generator(), in ClassifyPropertyIdentifier()1702 if (!Token::IsValidIdentifier(next, language_mode(), is_generator(), in ParseAndClassifyIdentifier()2896 if (peek() == Token::YIELD && is_generator()) { in ParseAssignmentExpressionCoverGrammar()
2020 int is_generator = (e->kind == GeneratorExp_kind); in symtable_handle_comprehension() local2067 st->st_cur->ste_generator = is_generator; in symtable_handle_comprehension()