11cb0ef41Sopenharmony_ci// Copyright 2018 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci// found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ci#ifndef V8_INTL_SUPPORT 61cb0ef41Sopenharmony_ci#error Internationalization is expected to be enabled. 71cb0ef41Sopenharmony_ci#endif // V8_INTL_SUPPORT 81cb0ef41Sopenharmony_ci 91cb0ef41Sopenharmony_ci#ifndef V8_OBJECTS_JS_NUMBER_FORMAT_INL_H_ 101cb0ef41Sopenharmony_ci#define V8_OBJECTS_JS_NUMBER_FORMAT_INL_H_ 111cb0ef41Sopenharmony_ci 121cb0ef41Sopenharmony_ci#include "src/objects/js-number-format.h" 131cb0ef41Sopenharmony_ci#include "src/objects/objects-inl.h" 141cb0ef41Sopenharmony_ci 151cb0ef41Sopenharmony_ci// Has to be the last include (doesn't have include guards): 161cb0ef41Sopenharmony_ci#include "src/objects/object-macros.h" 171cb0ef41Sopenharmony_ci 181cb0ef41Sopenharmony_cinamespace v8 { 191cb0ef41Sopenharmony_cinamespace internal { 201cb0ef41Sopenharmony_ci 211cb0ef41Sopenharmony_ci#include "torque-generated/src/objects/js-number-format-tq-inl.inc" 221cb0ef41Sopenharmony_ci 231cb0ef41Sopenharmony_ciTQ_OBJECT_CONSTRUCTORS_IMPL(JSNumberFormat) 241cb0ef41Sopenharmony_ci 251cb0ef41Sopenharmony_ciACCESSORS(JSNumberFormat, icu_number_formatter, 261cb0ef41Sopenharmony_ci Managed<icu::number::LocalizedNumberFormatter>, 271cb0ef41Sopenharmony_ci kIcuNumberFormatterOffset) 281cb0ef41Sopenharmony_ciACCESSORS(JSNumberFormat, icu_number_range_formatter, 291cb0ef41Sopenharmony_ci Managed<icu::number::LocalizedNumberRangeFormatter>, 301cb0ef41Sopenharmony_ci kIcuNumberRangeFormatterOffset) 311cb0ef41Sopenharmony_ci 321cb0ef41Sopenharmony_ci} // namespace internal 331cb0ef41Sopenharmony_ci} // namespace v8 341cb0ef41Sopenharmony_ci 351cb0ef41Sopenharmony_ci#include "src/objects/object-macros-undef.h" 361cb0ef41Sopenharmony_ci 371cb0ef41Sopenharmony_ci#endif // V8_OBJECTS_JS_NUMBER_FORMAT_INL_H_ 38