Searched refs:is_generator (Results 1 – 4 of 4) sorted by relevance
/external/v8/src/parsing/ |
D | parser-base.h | 911 bool is_generator() const { in is_generator() function 1132 bool* is_generator, bool* is_get, bool* is_set, 1366 FunctionKind FunctionKindForImpl(bool is_method, bool is_generator, in FunctionKindForImpl() argument 1385 return kFunctionKinds[is_method][is_generator][is_async]; in FunctionKindForImpl() 1388 inline FunctionKind FunctionKindFor(bool is_generator, bool is_async) { in FunctionKindFor() argument 1390 return FunctionKindForImpl(kIsMethod, is_generator, is_async); in FunctionKindFor() 1393 inline FunctionKind MethodKindFor(bool is_generator, bool is_async) { in MethodKindFor() argument 1395 return FunctionKindForImpl(kIsMethod, is_generator, is_async); in MethodKindFor() 1470 bool is_generator, bool is_async, bool is_static, 1745 (next == Token::YIELD && !is_generator()))) { in ParseAndClassifyIdentifier() [all …]
|
D | token.h | 225 bool is_generator, bool disallow_await) { in IsIdentifier() argument 236 return !is_generator && is_sloppy(language_mode); in IsIdentifier()
|
/external/python/cpython2/Python/ |
D | symtable.c | 1506 int is_generator = (e->kind == GeneratorExp_kind); in symtable_handle_comprehension() local 1507 int needs_tmp = !is_generator; in symtable_handle_comprehension() 1519 is_generator |= st->st_cur->ste_generator; in symtable_handle_comprehension() 1548 st->st_cur->ste_generator |= is_generator; in symtable_handle_comprehension() 1556 int i, is_generator; in symtable_visit_listcomp() local 1559 is_generator = st->st_cur->ste_generator; in symtable_visit_listcomp() 1568 is_generator |= st->st_cur->ste_generator; in symtable_visit_listcomp() 1583 st->st_cur->ste_generator |= is_generator; in symtable_visit_listcomp()
|
/external/python/cpython3/Python/ |
D | symtable.c | 1710 int is_generator = (e->kind == GeneratorExp_kind); in symtable_handle_comprehension() local 1764 st->st_cur->ste_generator |= is_generator; in symtable_handle_comprehension()
|