Lines Matching full:is_generator
222 bool is_generator() const { return IsGeneratorFunction(kind_); }
230 DCHECK(is_generator());
532 bool is_generator() const { return function_state_->is_generator(); }
703 // whether it is strict mode future reserved. Allows passing in is_generator
705 // relevant "is_generator" bit is of the function being parsed, not the
708 IdentifierT ParseIdentifierOrStrictReservedWord(bool is_generator,
713 return ParseIdentifierOrStrictReservedWord(this->is_generator(),
855 bool is_static, bool is_generator, bool* ok) = 0;
874 bool is_generator, bool* ok) override;
889 bool is_generator, bool* ok) override;
1110 (next == Token::YIELD && !is_generator()))) {
1135 bool is_generator, bool* is_strict_reserved, bool* ok) {
1140 next == Token::STATIC || (next == Token::YIELD && !is_generator)) {
1635 bool is_generator = Check(Token::MUL);
1655 if (!in_class && !is_generator) {
1684 this->is_generator())) {
1739 if (is_generator || peek() == Token::LPAREN) {
1745 is_generator,
1749 FunctionKind kind = is_generator ? FunctionKind::kConciseGeneratorMethod
1797 is_generator,
1983 if (peek() == Token::YIELD && is_generator()) {
2587 bool is_generator = Check(Token::MUL);
2595 is_generator, &is_strict_reserved_name, CHECK_OK);
2603 is_generator ? FunctionKind::kGeneratorFunction
3327 Token::Value property, PropertyKind type, bool is_static, bool is_generator,
3330 DCHECK(!is_generator || type == kMethodProperty);
3348 Token::Value property, PropertyKind type, bool is_static, bool is_generator,
3361 if (is_generator || type == kAccessorProperty) {
3363 is_generator ? MessageTemplate::kConstructorIsGenerator