/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/mounting/ShadowTreeRevision.h
38 строк
1 KB
Christoph Purrer
Use C++17 namespace format (#36983)
20 апр 2023, 09:41
20 апр 2023, 09:41
79c42e7
Код
Авторство
О чём код?
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <react/renderer/components/root/RootShadowNode.h> #include <react/renderer/mounting/MountingOverrideDelegate.h> #include <react/renderer/mounting/MountingTransaction.h> #include <react/renderer/mounting/ShadowViewMutation.h> #include <react/renderer/telemetry/TransactionTelemetry.h> namespace facebook::react { /* * Represent a particular committed state of a shadow tree. The object contains * a pointer to a root shadow node, a sequential number of commit and telemetry. */ class ShadowTreeRevision final { public: /* * Sequential number of the commit that created this revision of a shadow * tree. */ using Number = int64_t; friend class ShadowTree; friend class MountingCoordinator; RootShadowNode::Shared rootShadowNode; Number number; TransactionTelemetry telemetry; }; } // namespace facebook::react