Lines Matching refs:kind
190 FunctionKind kind = call_super ? FunctionKind::kDefaultSubclassConstructor
192 Scope* function_scope = NewScope(scope, FUNCTION_SCOPE, kind);
203 kind, &function_factory);
253 FunctionLiteral::kShouldLazyCompile, kind, pos);
764 FunctionNameValidity function_name_validity, FunctionKind kind,
768 name, function_name_location, function_name_validity, kind,
923 // created. This kind of parsing can only be done in the main thread.
1049 } else if (IsConciseMethod(shared_info->kind()) ||
1050 IsAccessorFunction(shared_info->kind())) {
1088 shared_info->kind(), &function_factory);
1165 raw_name, IsSubclassConstructor(shared_info->kind()), scope,
1170 kSkipFunctionNameCheck, shared_info->kind(),
1945 DeclarationDescriptor::Kind declaration_kind,
1977 Variable::Kind kind = Variable::NORMAL;
1979 kind = Variable::FUNCTION;
1982 name, mode, declaration->initialization(), kind, kNotAssigned);
1995 declaration->AsFunctionDeclaration()->fun()->kind();
2040 Variable::Kind kind = Variable::NORMAL;
2042 var = new (zone()) Variable(declaration_scope, name, mode, kind,
2718 if (IsSubclassConstructor(function_state_->kind())) {
2726 if (IsSubclassConstructor(function_state_->kind())) {
4044 FunctionKind kind, FunctionBody body_type,
4061 BuildCreateJSGeneratorObject(pos, kind), RelocInfo::kNoPosition);
4156 FunctionNameValidity function_name_validity, FunctionKind kind,
4171 bool is_generator = IsGeneratorFunction(kind);
4183 Scope* scope = NewScope(scope_, FUNCTION_SCOPE, kind);
4197 FunctionState function_state(&function_state_, &scope_, scope, kind,
4230 CheckArityRestrictions(arity, kind, formals.has_rest, start_position,
4334 body = ParseEagerFunctionBody(function_name, pos, formals, kind,
4354 is_sloppy(language_mode) && formals.is_simple && !IsConciseMethod(kind);
4384 eager_compile_hint, kind, pos);
4672 Expression* Parser::BuildCreateJSGeneratorObject(int pos, FunctionKind kind) {
4676 args->Add(IsArrowFunction(kind)
4700 const ParserFormalParameters& parameters, FunctionKind kind,
4734 if (IsGeneratorFunction(kind)) {
4750 Expression* allocation = BuildCreateJSGeneratorObject(pos, kind);
4789 } else if (IsAsyncFunction(kind)) {
4791 DesugarAsyncFunctionBody(function_name, inner_scope, body, nullptr, kind,
4797 if (IsSubclassConstructor(kind)) {
4815 if (IsAsyncFunction(kind)) {
4887 language_mode(), function_state_->kind(), scope_->has_simple_parameters(),
5909 bool is_getter = property->kind() == ObjectLiteralProperty::GETTER;
5910 bool is_setter = property->kind() == ObjectLiteralProperty::SETTER;
5927 if (property->kind() == ObjectLiteralProperty::PROTOTYPE) return;
5931 DCHECK_EQ(ObjectLiteralProperty::COMPUTED, property->kind());
5934 DCHECK_EQ(ObjectLiteralProperty::COMPUTED, property->kind());