11cb0ef41Sopenharmony_ci#include "env-inl.h"
21cb0ef41Sopenharmony_ci#include "node_binding.h"
31cb0ef41Sopenharmony_ci#include "util.h"
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_cinamespace node {
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ciusing v8::Context;
81cb0ef41Sopenharmony_ciusing v8::Local;
91cb0ef41Sopenharmony_ciusing v8::Object;
101cb0ef41Sopenharmony_ciusing v8::Value;
111cb0ef41Sopenharmony_ci
121cb0ef41Sopenharmony_cinamespace symbols {
131cb0ef41Sopenharmony_ci
141cb0ef41Sopenharmony_cistatic void Initialize(Local<Object> target,
151cb0ef41Sopenharmony_ci                       Local<Value> unused,
161cb0ef41Sopenharmony_ci                       Local<Context> context,
171cb0ef41Sopenharmony_ci                       void* priv) {
181cb0ef41Sopenharmony_ci  Environment* env = Environment::GetCurrent(context);
191cb0ef41Sopenharmony_ci#define V(PropertyName, StringValue)                                           \
201cb0ef41Sopenharmony_ci  target                                                                       \
211cb0ef41Sopenharmony_ci      ->Set(env->context(),                                                    \
221cb0ef41Sopenharmony_ci            env->PropertyName()->Description(env->isolate()),                  \
231cb0ef41Sopenharmony_ci            env->PropertyName())                                               \
241cb0ef41Sopenharmony_ci      .Check();
251cb0ef41Sopenharmony_ci  PER_ISOLATE_SYMBOL_PROPERTIES(V)
261cb0ef41Sopenharmony_ci#undef V
271cb0ef41Sopenharmony_ci}
281cb0ef41Sopenharmony_ci
291cb0ef41Sopenharmony_ci}  // namespace symbols
301cb0ef41Sopenharmony_ci}  // namespace node
311cb0ef41Sopenharmony_ci
321cb0ef41Sopenharmony_ciNODE_BINDING_CONTEXT_AWARE_INTERNAL(symbols, node::symbols::Initialize)
33