Searched refs:cooked_strings (Results 1 - 6 of 6) sorted by relevance
/third_party/node/deps/v8/src/objects/ |
H A D | template-objects.cc | 51 // Create the template object from the {cooked_strings}. in GetTemplateObject() 52 Handle<FixedArray> cooked_strings(description->cooked_strings(), isolate); in GetTemplateObject() 54 cooked_strings, PACKED_ELEMENTS, cooked_strings->length(), in GetTemplateObject()
|
/third_party/node/deps/v8/src/ast/ |
H A D | ast.cc | 804 if (this->raw_strings()->at(i) != this->cooked_strings()->at(i)) { in GetOrBuildDescription() 808 DCHECK_IMPLIES(this->cooked_strings()->at(i) != nullptr, in GetOrBuildDescription() 809 *this->cooked_strings()->at(i)->string() != in GetOrBuildDescription() 820 this->cooked_strings()->length(), AllocationType::kOld); in GetOrBuildDescription() 822 FixedArray cooked_strings = *cooked_strings_handle; in GetOrBuildDescription() local 824 for (int i = 0; i < cooked_strings.length(); ++i) { in GetOrBuildDescription() 825 if (this->cooked_strings()->at(i) != nullptr) { in GetOrBuildDescription() 826 cooked_strings.set(i, *this->cooked_strings()->at(i)->string()); in GetOrBuildDescription() 828 cooked_strings in GetOrBuildDescription() [all...] |
H A D | ast.h | 2664 const ZonePtrList<const AstRawString>* cooked_strings() const { in cooked_strings() function in v8::internal::final 2678 GetTemplateObject(const ZonePtrList<const AstRawString>* cooked_strings, in GetTemplateObject() argument 2681 cooked_strings_(cooked_strings), in GetTemplateObject() 3310 const ZonePtrList<const AstRawString>* cooked_strings, in NewGetTemplateObject() 3312 return zone_->New<GetTemplateObject>(cooked_strings, raw_strings, pos); in NewGetTemplateObject() 3309 NewGetTemplateObject( const ZonePtrList<const AstRawString>* cooked_strings, const ZonePtrList<const AstRawString>* raw_strings, int pos) NewGetTemplateObject() argument
|
/third_party/node/deps/v8/src/heap/ |
H A D | factory-base.cc | 520 Handle<FixedArray> raw_strings, Handle<FixedArray> cooked_strings) { in NewTemplateObjectDescription() 521 DCHECK_EQ(raw_strings->length(), cooked_strings->length()); in NewTemplateObjectDescription() 527 result.set_cooked_strings(*cooked_strings); in NewTemplateObjectDescription() 519 NewTemplateObjectDescription( Handle<FixedArray> raw_strings, Handle<FixedArray> cooked_strings) NewTemplateObjectDescription() argument
|
H A D | factory-base.h | 158 Handle<FixedArray> raw_strings, Handle<FixedArray> cooked_strings);
|
/third_party/node/deps/v8/src/parsing/ |
H A D | parser.cc | 3493 const ZonePtrList<const AstRawString>* cooked_strings = lit->cooked(); in CloseTemplateLiteral() local 3496 DCHECK_EQ(cooked_strings->length(), raw_strings->length()); in CloseTemplateLiteral() 3497 DCHECK_EQ(cooked_strings->length(), expressions->length() + 1); in CloseTemplateLiteral() 3500 if (cooked_strings->length() == 1) { in CloseTemplateLiteral() 3501 return factory()->NewStringLiteral(cooked_strings->first(), pos); in CloseTemplateLiteral() 3503 return factory()->NewTemplateLiteral(cooked_strings, expressions, pos); in CloseTemplateLiteral() 3507 factory()->NewGetTemplateObject(cooked_strings, raw_strings, pos); in CloseTemplateLiteral()
|
Completed in 18 milliseconds