Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace facebook::react {
using ArrayPropsNativeComponentViewSizesMask = uint32_t;

struct ArrayPropsNativeComponentViewSizesMaskWrapped {
ArrayPropsNativeComponentViewSizesMask value;
ArrayPropsNativeComponentViewSizesMask value{};
};

enum class ArrayPropsNativeComponentViewSizes: ArrayPropsNativeComponentViewSizesMask {
Expand Down Expand Up @@ -180,6 +180,10 @@ class ArrayPropsNativeComponentViewProps final : public ViewProps {
ArrayPropsNativeComponentViewProps() = default;
ArrayPropsNativeComponentViewProps(const PropsParserContext& context, const ArrayPropsNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

std::vector<std::string> names{};
Expand Down Expand Up @@ -233,6 +237,10 @@ class BooleanPropNativeComponentViewProps final : public ViewProps {
BooleanPropNativeComponentViewProps() = default;
BooleanPropNativeComponentViewProps(const PropsParserContext& context, const BooleanPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

bool disabled{false};
Expand Down Expand Up @@ -276,6 +284,10 @@ class ColorPropNativeComponentViewProps final : public ViewProps {
ColorPropNativeComponentViewProps() = default;
ColorPropNativeComponentViewProps(const PropsParserContext& context, const ColorPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

SharedColor tintColor{};
Expand Down Expand Up @@ -318,6 +330,10 @@ class DimensionPropNativeComponentViewProps final : public ViewProps {
DimensionPropNativeComponentViewProps() = default;
DimensionPropNativeComponentViewProps(const PropsParserContext& context, const DimensionPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

YGValue marginBack{};
Expand Down Expand Up @@ -359,6 +375,10 @@ class EdgeInsetsPropNativeComponentViewProps final : public ViewProps {
EdgeInsetsPropNativeComponentViewProps() = default;
EdgeInsetsPropNativeComponentViewProps(const PropsParserContext& context, const EdgeInsetsPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props


Expand Down Expand Up @@ -472,6 +492,10 @@ class EnumPropNativeComponentViewProps final : public ViewProps {
EnumPropNativeComponentViewProps() = default;
EnumPropNativeComponentViewProps(const PropsParserContext& context, const EnumPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

EnumPropNativeComponentViewAlignment alignment{EnumPropNativeComponentViewAlignment::Center};
Expand Down Expand Up @@ -514,6 +538,10 @@ class EventNestedObjectPropsNativeComponentViewProps final : public ViewProps {
EventNestedObjectPropsNativeComponentViewProps() = default;
EventNestedObjectPropsNativeComponentViewProps(const PropsParserContext& context, const EventNestedObjectPropsNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

bool disabled{false};
Expand Down Expand Up @@ -555,6 +583,10 @@ class EventPropsNativeComponentViewProps final : public ViewProps {
EventPropsNativeComponentViewProps() = default;
EventPropsNativeComponentViewProps(const PropsParserContext& context, const EventPropsNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

bool disabled{false};
Expand Down Expand Up @@ -596,6 +628,10 @@ class FloatPropsNativeComponentViewProps final : public ViewProps {
FloatPropsNativeComponentViewProps() = default;
FloatPropsNativeComponentViewProps(const PropsParserContext& context, const FloatPropsNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

Float blurRadius{0.0};
Expand Down Expand Up @@ -644,6 +680,10 @@ class ImagePropNativeComponentViewProps final : public ViewProps {
ImagePropNativeComponentViewProps() = default;
ImagePropNativeComponentViewProps(const PropsParserContext& context, const ImagePropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

ImageSource thumbImage{};
Expand Down Expand Up @@ -685,6 +725,10 @@ class IntegerPropNativeComponentViewProps final : public ViewProps {
IntegerPropNativeComponentViewProps() = default;
IntegerPropNativeComponentViewProps(const PropsParserContext& context, const IntegerPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

int progress1{0};
Expand Down Expand Up @@ -728,6 +772,10 @@ class InterfaceOnlyNativeComponentViewProps final : public ViewProps {
InterfaceOnlyNativeComponentViewProps() = default;
InterfaceOnlyNativeComponentViewProps(const PropsParserContext& context, const InterfaceOnlyNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

std::string title{std::string{\\"\\"}};
Expand Down Expand Up @@ -769,6 +817,10 @@ class MixedPropNativeComponentViewProps final : public ViewProps {
MixedPropNativeComponentViewProps() = default;
MixedPropNativeComponentViewProps(const PropsParserContext& context, const MixedPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

folly::dynamic mixedProp{};
Expand Down Expand Up @@ -812,6 +864,10 @@ class MultiNativePropNativeComponentViewProps final : public ViewProps {
MultiNativePropNativeComponentViewProps() = default;
MultiNativePropNativeComponentViewProps(const PropsParserContext& context, const MultiNativePropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

ImageSource thumbImage{};
Expand Down Expand Up @@ -856,6 +912,10 @@ class NoPropsNoEventsNativeComponentViewProps final : public ViewProps {
NoPropsNoEventsNativeComponentViewProps() = default;
NoPropsNoEventsNativeComponentViewProps(const PropsParserContext& context, const NoPropsNoEventsNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props


Expand Down Expand Up @@ -1103,6 +1163,10 @@ class ObjectPropsNativeComponentProps final : public ViewProps {
ObjectPropsNativeComponentProps() = default;
ObjectPropsNativeComponentProps(const PropsParserContext& context, const ObjectPropsNativeComponentProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

ObjectPropsNativeComponentObjectPropStruct objectProp{};
Expand Down Expand Up @@ -1147,6 +1211,10 @@ class PointPropNativeComponentViewProps final : public ViewProps {
PointPropNativeComponentViewProps() = default;
PointPropNativeComponentViewProps(const PropsParserContext& context, const PointPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

Point startPoint{};
Expand Down Expand Up @@ -1188,6 +1256,10 @@ class StringPropNativeComponentViewProps final : public ViewProps {
StringPropNativeComponentViewProps() = default;
StringPropNativeComponentViewProps(const PropsParserContext& context, const StringPropNativeComponentViewProps &sourceProps, const RawProps &rawProps);

#ifdef RN_HAS_CONVERT_RAW_PROP_VALUE
void setProp(const PropsParserContext& propsParserContext, RawPropsPropNameHash propNameHash, const char *rawPropName, const RawValue &rawValue);
#endif

#pragma mark - Props

std::string placeholder{std::string{\\"\\"}};
Expand Down
Loading
Loading