// Copyright 2018 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_COMMON_MESSAGE_TEMPLATE_H_ #define V8_COMMON_MESSAGE_TEMPLATE_H_ #include "src/base/logging.h" namespace v8 { namespace internal { #define MESSAGE_TEMPLATES(T) … enum class MessageTemplate { … }; inline MessageTemplate MessageTemplateFromInt(int message_id) { … } } // namespace internal } // namespace v8 #endif // V8_COMMON_MESSAGE_TEMPLATE_H_