1// Copyright 2018 the V8 project authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef V8_INTL_SUPPORT 6#error Internationalization is expected to be enabled. 7#endif // V8_INTL_SUPPORT 8 9#ifndef V8_OBJECTS_JS_NUMBER_FORMAT_INL_H_ 10#define V8_OBJECTS_JS_NUMBER_FORMAT_INL_H_ 11 12#include "src/objects/js-number-format.h" 13#include "src/objects/objects-inl.h" 14 15// Has to be the last include (doesn't have include guards): 16#include "src/objects/object-macros.h" 17 18namespace v8 { 19namespace internal { 20 21#include "torque-generated/src/objects/js-number-format-tq-inl.inc" 22 23TQ_OBJECT_CONSTRUCTORS_IMPL(JSNumberFormat) 24 25ACCESSORS(JSNumberFormat, icu_number_formatter, 26 Managed<icu::number::LocalizedNumberFormatter>, 27 kIcuNumberFormatterOffset) 28ACCESSORS(JSNumberFormat, icu_number_range_formatter, 29 Managed<icu::number::LocalizedNumberRangeFormatter>, 30 kIcuNumberRangeFormatterOffset) 31 32} // namespace internal 33} // namespace v8 34 35#include "src/objects/object-macros-undef.h" 36 37#endif // V8_OBJECTS_JS_NUMBER_FORMAT_INL_H_ 38