text
stringlengths
1
24.5M
/* * 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 <functional> #include <memory> #include <react/debug/react_native_assert.h> #include <react/renderer/core...
/* * 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/core/LayoutPrimitives.h> namespace facebook::react { inline std::string toString(const L...
/* * 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. */ #include "DynamicEventPayload.h" #include <jsi/JSIDynamic.h> namespace facebook::react { DynamicEventPayload::DynamicEventPayl...
/* * 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 <folly/dynamic.h> #include <react/renderer/core/EventPayload.h> namespace facebook::react { struct Dynam...
/* * 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. */ #include "DynamicPropsUtilities.h" namespace facebook::react { folly::dynamic mergeDynamicProps( const folly::dynamic& sour...
/* * 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 <folly/dynamic.h> #include <react/renderer/core/RawProps.h> namespace facebook::react { /* * Enum defin...
/* * 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. */ #include "EventBeat.h" #include <react/debug/react_native_assert.h> #include <react/renderer/runtimescheduler/RuntimeScheduler.h...
/* * 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 <atomic> #include <functional> #include <memory> namespace facebook::react { class RuntimeScheduler; } n...
/* * 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. */ #include "EventDispatcher.h" #include <react/renderer/core/StateUpdate.h> #include "EventQueue.h" #include "RawEvent.h" namesp...
/* * 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/core/EventBeat.h> #include <react/renderer/core/EventListener.h> #include <react/renderer/...
/* * 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. */ #include "EventEmitter.h" #include <cxxreact/TraceSection.h> #include <folly/dynamic.h> #include <jsi/jsi.h> #include "DynamicE...
/* * 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 <memory> #include <mutex> #include <folly/dynamic.h> #include <react/renderer/core/EventDispatcher.h> #in...
/* * 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. */ #include "EventListener.h" #include <mutex> namespace facebook::react { bool EventListenerContainer::willDispatchEvent(const R...
/* * 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 <shared_mutex> #include <string> #include <react/renderer/core/RawEvent.h> namespace facebook::react { ...
/* * 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/core/EventTarget.h> #include <react/timing/primitives.h> #include <optional> #include <st...
/* * 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 <jsi/jsi.h> #include <react/renderer/core/EventPayloadType.h> #include <optional> #include <vector> name...
/* * 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 namespace facebook::react { enum class EventPayloadType { ValueFactory, PointerEvent, ScrollEvent }; }
/* * 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 <functional> #include <string> #include <jsi/jsi.h> #include <react/renderer/core/EventPayload.h> #includ...
/* * 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. */ #include "EventQueue.h" #include <react/featureflags/ReactNativeFeatureFlags.h> #include "EventEmitter.h" #include "ShadowNodeFa...
/* * 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 <memory> #include <mutex> #include <vector> #include <jsi/jsi.h> #include <react/renderer/core/EventBeat....
/* * 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. */ #include "EventQueueProcessor.h" #include <logger/react_native_log.h> #include <react/featureflags/ReactNativeFeatureFlags.h> #...
/* * 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 <vector> #include <jsi/jsi.h> #include <react/renderer/core/EventPipe.h> #include <react/renderer/core/Ra...
/* * 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. */ #include "EventTarget.h" #include <react/debug/react_native_assert.h> namespace facebook::react { using Tag = EventTarget::Tag...
/* * 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 <jsi/jsi.h> #include <react/renderer/core/InstanceHandle.h> #include <memory> namespace facebook::react {...
/* * 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 <array> #include <unordered_map> #include <glog/logging.h> #include <react/debug/react_native_expect.h> #...
/* * 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. */ #include "InstanceHandle.h" namespace facebook::react { InstanceHandle::InstanceHandle( jsi::Runtime& runtime, const js...
/* * 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 <jsi/jsi.h> #include <react/renderer/core/ReactPrimitives.h> #include <memory> namespace facebook::react ...
/* * 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. */ #include "LayoutableShadowNode.h" #include <react/renderer/core/LayoutConstraints.h> #include <react/renderer/core/LayoutContext...
/* * 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 <array> #include <cmath> #include <memory> #include <vector> #include <react/debug/react_native_assert.h>...
/* * 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. */ #include "LayoutConstraints.h" #include <algorithm> namespace facebook::react { Size LayoutConstraints::clamp(const Size& size...
/* * 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 <limits> #include <react/renderer/core/LayoutPrimitives.h> #include <react/renderer/graphics/Size.h> #inc...
/* * 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 <vector> #include <react/renderer/core/LayoutableShadowNode.h> namespace facebook::react { /* * Layout...
/* * 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. */ #include <react/renderer/debug/DebugStringConvertible.h> #include <react/renderer/debug/flags.h> #include "LayoutMetrics.h" nam...
/* * 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/core/LayoutPrimitives.h> #include <react/renderer/debug/DebugStringConvertible.h> #include...
/* * 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 <functional> #include <limits> namespace facebook::react { /* * Defines visibility of the shadow node a...
/* * 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. */ #include "Props.h" #include <react/renderer/core/propsConversions.h> #include <react/featureflags/ReactNativeFeatureFlags.h> #i...
/* * 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/core/PropsMacros.h> #include <react/renderer/core/PropsParserContext.h> #include <react/re...
/* * 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 <optional> #include <react/renderer/core/PropsParserContext.h> #include <react/renderer/core/RawProps.h> ...
/* * 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/core/RawPropsPrimitives.h> #include <react/utils/fnv1a.h> #include <functional> // We nee...
/* * 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 <optional> #include <react/renderer/core/ReactPrimitives.h> #include <react/utils/ContextContainer.h> na...
/* * 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. */ #include "RawEvent.h" namespace facebook::react { RawEvent::RawEvent( std::string type, SharedEventPayload eventPayload...
/* * 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 <memory> #include <optional> #include <string> #include <react/renderer/core/EventLogger.h> #include <rea...
/* * 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. */ #include "RawProps.h" #include <cxxreact/TraceSection.h> #include <react/debug/react_native_assert.h> #include <react/renderer/c...
/* * 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 <limits> #include <optional> #include <folly/dynamic.h> #include <jsi/JSIDynamic.h> #include <jsi/jsi.h> ...
/* * 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. */ #include "RawPropsKey.h" #include <array> #include <cassert> #include <cstring> #include <react/debug/react_native_assert.h> #i...
/* * 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 <string> #include <react/renderer/core/RawPropsPrimitives.h> namespace facebook::react { /* * Represen...
/* * 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. */ #include "RawPropsKeyMap.h" #include <react/debug/react_native_assert.h> #include <glog/logging.h> #include <algorithm> #includ...
/* * 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/core/RawPropsKey.h> #include <react/renderer/core/RawPropsPrimitives.h> #include <vector> ...
/* * 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. */ #include "RawPropsParser.h" #include <react/debug/react_native_assert.h> #include <react/renderer/core/RawProps.h> #include <gl...
/* * 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/featureflags/ReactNativeFeatureFlags.h> #include <react/renderer/core/Props.h> #include <react/rend...
/* * 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 <cstdint> #include <limits> namespace facebook::react { /* * Type used to represent an index of some st...
/* * 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. */ #include "RawValue.h"
/* * 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 <unordered_map> #include <variant> #include <folly/dynamic.h> #include <jsi/JSIDynamic.h> #include <jsi/j...
/* * 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 namespace facebook::react { /* * An enum that represents React's event priority. * Used to map Fabric events to ...
/* * 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 <string> namespace facebook::react { /* * `Tag` and `InstanceHandle` are used to address React Native c...
/* * 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. */ #include "ReactRootViewTagGenerator.h" #include <atomic> namespace facebook::react { constexpr SurfaceId ROOT_VIEW_TAG_INCREME...
/* * 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/core/ReactPrimitives.h> namespace facebook::react { SurfaceId getNextRootViewTag() noexc...
/* * 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. */ #include "Sealable.h" #include <react/debug/flags.h> #include <react/debug/react_native_assert.h> namespace facebook::react { ...
/* * 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 <atomic> #include <react/debug/flags.h> namespace facebook::react { /* * Represents an object which ca...
/* * 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. */ #include "ShadowNode.h" #include "DynamicPropsUtilities.h" #include "ShadowNodeFragment.h" #include <react/debug/react_native_as...
/* * 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 <limits> #include <memory> #include <string> #include <type_traits> #include <vector> #include <react/ren...
/* * 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. */ #include "ShadowNodeFamily.h" #include "ShadowNode.h" #include <react/debug/react_native_assert.h> #include <react/featureflags/...
/* * 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 <memory> #include <shared_mutex> #include <react/renderer/core/EventEmitter.h> #include <react/renderer/c...
/* * 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. */ #include "ShadowNodeFragment.h" namespace facebook::react { #if defined(__clang__) #define NO_DESTROY [[clang::no_destroy]] #el...
/* * 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/core/EventEmitter.h> #include <react/renderer/core/Props.h> #include <react/renderer/core/...
/* * 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. */ #include "ShadowNodeTraits.h" namespace facebook::react {} // namespace facebook::react
/* * 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 <cstdint> namespace facebook::react { /* * A set of predefined traits associated with a particular `Sha...
/* * 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. */ #include "State.h" #include <react/renderer/core/ShadowNode.h> #include <react/renderer/core/ShadowNodeFragment.h> #include <rea...
/* * 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 #ifdef RN_SERIALIZABLE_STATE #include <fbjni/fbjni.h> #include <folly/dynamic.h> #include <react/renderer/mapbuffer...
/* * 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 <memory> #ifdef RN_SERIALIZABLE_STATE #include <folly/dynamic.h> #include <react/renderer/mapbuffer/MapBu...
/* * 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 <functional> #include <react/renderer/core/StateUpdate.h> namespace facebook::react { using StatePipe =...
/* * 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. */ #include "StateUpdate.h"
/* * 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 <functional> #include <react/renderer/core/StateData.h> namespace facebook::react { class ShadowNodeFam...
/* * 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 <functional> #include <jsi/jsi.h> namespace facebook::react { using ValueFactory = std::function<jsi::V...
/* * 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. */ #include "ValueFactoryEventPayload.h" namespace facebook::react { ValueFactoryEventPayload::ValueFactoryEventPayload(ValueFacto...
/* * 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/core/EventPayload.h> #include <react/renderer/core/ValueFactory.h> namespace facebook::re...
/* * 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. */ #include <gtest/gtest.h> #include <react/renderer/core/PropsParserContext.h> #include "TestComponent.h" using namespace facebo...
/* * 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. */ #include <memory> #include <gtest/gtest.h> #include <react/renderer/core/ConcreteShadowNode.h> #include <react/renderer/core/Sha...
/* * 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. */ #include <gtest/gtest.h> #include <react/renderer/core/DynamicPropsUtilities.h> using namespace folly; using namespace facebook:...
/* * 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. */ #include <gtest/gtest.h> #include <hermes/hermes.h> #include <jsi/jsi.h> #include <react/renderer/core/EventLogger.h> #include <r...
/* * 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. */ #include <gtest/gtest.h> #include <hermes/hermes.h> #include <react/renderer/core/EventTarget.h> #include <react/renderer/core/In...
/* * 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. */ #include <gtest/gtest.h> #include <react/renderer/element/Element.h> #include <react/renderer/element/testUtils.h> #include "Tes...
/* * 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. */ #include <gtest/gtest.h> #include <react/renderer/element/Element.h> #include <react/renderer/element/testUtils.h> namespace fac...
/* * 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. */ #include <exception> #include <gtest/gtest.h> #include <react/renderer/core/Sealable.h> using namespace facebook::react; TEST(...
/* * 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. */ #include <memory> #include <gtest/gtest.h> #include <hermes/hermes.h> #include <react/debug/flags.h> #include <react/renderer/co...
/* * 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. */ #include <memory> #include <gtest/gtest.h> #include <hermes/hermes.h> #include <react/renderer/core/RawValue.h> using namespace...
/* * 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. */ #include <exception> #include <gtest/gtest.h> #include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>...
/* * 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. */ #include <memory> #include <gtest/gtest.h> #include <react/featureflags/ReactNativeFeatureFlags.h> #include <react/featureflags/...
/* * 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 <memory> #include <folly/dynamic.h> #include <react/renderer/components/view/ConcreteViewShadowNode.h> #i...
/* * 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. */ #include <benchmark/benchmark.h> #include <folly/dynamic.h> #include <folly/json.h> #include <react/renderer/components/view/View...
/* * 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 <optional> #include <react/renderer/css/CSSAngleUnit.h> #include <react/renderer/css/CSSDataType.h> name...
/* * 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 <cmath> #include <cstdint> #include <optional> #include <string_view> #include <react/utils/fnv1a.h> nam...
/* * 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 <optional> #include <variant> #include <react/renderer/css/CSSAngle.h> #include <react/renderer/css/CSSCo...
/* * 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 <optional> #include <react/renderer/css/CSSColorFunction.h> #include <react/renderer/css/CSSDataType.h> #...
/* * 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 <algorithm> #include <cmath> #include <cstdint> #include <optional> #include <string_view> #include <tuple...
/* * 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/css/CSSDataType.h> namespace facebook::react { namespace detail { struct CSSCompoundData...
/* * 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 <any> #include <concepts> #include <optional> #include <variant> #include <react/renderer/css/CSSSyntaxPa...
/* * 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. */ // This file is required for the CSS podpsec because this is a header-files only // module. Headers file only modules are not sup...
/* * 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 <array> #include <optional> #include <variant> #include <react/renderer/css/CSSColor.h> #include <react/r...
/* * 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/css/CSSDataType.h> #include <react/renderer/css/CSSKeyword.h> #include <react/renderer/css...