From dc7defaceff2b86130a265ab41304c391ab5316e Mon Sep 17 00:00:00 2001 From: David Vacca Date: Fri, 14 Aug 2020 12:12:03 -0700 Subject: [PATCH] Add @generated tag int Fabric codegen files Summary: This diff adds the generated tog to codegen files changelog: [internal] internal Reviewed By: fkgozali Differential Revision: D23117527 fbshipit-source-id: 600013425deeb08321761622e13e7cf9a0f0db38 --- .../GenerateComponentDescriptorH.js | 2 + .../components/GenerateComponentHObjCpp.js | 2 + .../components/GenerateEventEmitterCpp.js | 2 + .../components/GenerateEventEmitterH.js | 2 + .../generators/components/GeneratePropsCpp.js | 2 + .../generators/components/GeneratePropsH.js | 2 + .../components/GenerateShadowNodeCpp.js | 2 + .../components/GenerateShadowNodeH.js | 2 + .../generators/components/GenerateTests.js | 4 +- .../components/GenerateViewConfigJs.js | 2 + .../GenerateComponentDescriptorH-test.js.snap | 52 +++++++++ .../GenerateComponentHObjCpp-test.js.snap | 52 +++++++++ .../GenerateEventEmitterCpp-test.js.snap | 52 +++++++++ .../GenerateEventEmitterH-test.js.snap | 52 +++++++++ .../GeneratePropsCpp-test.js.snap | 52 +++++++++ .../__snapshots__/GeneratePropsH-test.js.snap | 52 +++++++++ .../GenerateShadowNodeCpp-test.js.snap | 52 +++++++++ .../GenerateShadowNodeH-test.js.snap | 52 +++++++++ .../__snapshots__/GenerateTests-test.js.snap | 104 +++++++++++++----- .../GenerateViewConfigJs-test.js.snap | 54 +++++++++ .../generators/modules/GenerateModuleCpp.js | 2 + .../src/generators/modules/GenerateModuleH.js | 2 + .../GenerateModuleCpp-test.js.snap | 14 +++ .../GenerateModuleH-test.js.snap | 14 +++ 24 files changed, 601 insertions(+), 27 deletions(-) diff --git a/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js b/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js index 9fb720b0156e7d..93a94ca5a85bc0 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js +++ b/packages/react-native-codegen/src/generators/components/GenerateComponentDescriptorH.js @@ -21,6 +21,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js b/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js index af61b2675e78a6..9d5a5011a17843 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js +++ b/packages/react-native-codegen/src/generators/components/GenerateComponentHObjCpp.js @@ -88,6 +88,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* ${'@'}generated by codegen project: GenerateComponentHObjCpp.js */ #import diff --git a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js index ecf717e7d6da95..6ae392d20af9ab 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js +++ b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterCpp.js @@ -32,6 +32,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GenerateEventEmitterCpp.js */ #include diff --git a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js index 6d687cbb81f39e..7081a912e88ba0 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js +++ b/packages/react-native-codegen/src/generators/components/GenerateEventEmitterH.js @@ -40,6 +40,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GenerateEventEmitterH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js b/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js index 287a51d3c11368..0afb7d11613b9b 100644 --- a/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js +++ b/packages/react-native-codegen/src/generators/components/GeneratePropsCpp.js @@ -22,6 +22,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GeneratePropsCpp.js */ #include diff --git a/packages/react-native-codegen/src/generators/components/GeneratePropsH.js b/packages/react-native-codegen/src/generators/components/GeneratePropsH.js index 8e2b724a2bd57c..85020bac0cee57 100644 --- a/packages/react-native-codegen/src/generators/components/GeneratePropsH.js +++ b/packages/react-native-codegen/src/generators/components/GeneratePropsH.js @@ -37,6 +37,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GeneratePropsH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js index 4968da1f466b72..e499bdcea45e5e 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js +++ b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeCpp.js @@ -21,6 +21,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GenerateShadowNodeCpp.js */ #include diff --git a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js index a020896ff9d4af..f5c5a8cf7b5de5 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js +++ b/packages/react-native-codegen/src/generators/components/GenerateShadowNodeH.js @@ -21,6 +21,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GenerateShadowNodeH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/GenerateTests.js b/packages/react-native-codegen/src/generators/components/GenerateTests.js index 75ea5ae8fda467..06c953d49eb8f2 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateTests.js +++ b/packages/react-native-codegen/src/generators/components/GenerateTests.js @@ -29,7 +29,9 @@ const fileTemplate = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * ${'@'}generated by codegen project: GenerateTests.js + * */ #include #include diff --git a/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js b/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js index 3b578b752d01b8..e7c0946d253536 100644 --- a/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js +++ b/packages/react-native-codegen/src/generators/components/GenerateViewConfigJs.js @@ -25,6 +25,8 @@ const template = ` * LICENSE file in the root directory of this source tree. * * @flow + * + * ${'@'}generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap index c75e3cd513c8fc..34b1f425bc4174 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentDescriptorH-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -34,6 +36,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -60,6 +64,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -86,6 +92,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -112,6 +120,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -138,6 +148,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -164,6 +176,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -190,6 +204,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -216,6 +232,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -242,6 +260,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -268,6 +288,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -294,6 +316,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -320,6 +344,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -346,6 +372,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -372,6 +400,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -398,6 +428,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -424,6 +456,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -450,6 +484,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -476,6 +512,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -502,6 +540,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -528,6 +568,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -554,6 +596,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -580,6 +624,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -606,6 +652,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -632,6 +680,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once @@ -659,6 +709,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateComponentDescriptorH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap index a921411cbe03a4..68e1b8f98344ee 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateComponentHObjCpp-test.js.snap @@ -7,6 +7,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -30,6 +32,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -53,6 +57,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -76,6 +82,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -99,6 +107,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -199,6 +209,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -281,6 +293,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -304,6 +318,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -327,6 +343,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -350,6 +368,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -373,6 +393,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -396,6 +418,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -417,6 +441,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -440,6 +466,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -463,6 +491,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -486,6 +516,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -509,6 +541,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -532,6 +566,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -555,6 +591,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -578,6 +616,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -601,6 +641,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -624,6 +666,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -647,6 +691,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -670,6 +716,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -693,6 +741,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import @@ -720,6 +770,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. +* +* @generated by codegen project: GenerateComponentHObjCpp.js */ #import diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap index a8c65fe6224b38..04c08736f743ec 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterCpp-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -31,6 +33,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -54,6 +58,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -77,6 +83,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -100,6 +108,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -123,6 +133,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -146,6 +158,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -169,6 +183,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -210,6 +226,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -259,6 +277,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -295,6 +315,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -318,6 +340,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -341,6 +365,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -364,6 +390,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -387,6 +415,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -410,6 +440,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -433,6 +465,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -456,6 +490,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -485,6 +521,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -508,6 +546,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -531,6 +571,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -554,6 +596,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -577,6 +621,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -600,6 +646,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -623,6 +671,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include @@ -647,6 +697,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterCpp.js */ #include diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap index 18c1ccc473fbb3..18e1a2ce0d489a 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateEventEmitterH-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -32,6 +34,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -56,6 +60,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -80,6 +86,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -104,6 +112,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -128,6 +138,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -152,6 +164,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -176,6 +190,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -219,6 +235,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -281,6 +299,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -320,6 +340,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -344,6 +366,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -368,6 +392,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -392,6 +418,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -416,6 +444,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -440,6 +470,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -464,6 +496,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -488,6 +522,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -521,6 +557,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -545,6 +583,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -569,6 +609,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -593,6 +635,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -617,6 +661,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -641,6 +687,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -665,6 +713,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once @@ -689,6 +739,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateEventEmitterH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap index 84911ff29e33b8..3dabcf8bdcb5ef 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsCpp-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -48,6 +50,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -77,6 +81,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -106,6 +112,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -135,6 +143,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -164,6 +174,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -193,6 +205,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -227,6 +241,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -256,6 +272,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -285,6 +303,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -314,6 +334,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -343,6 +365,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -367,6 +391,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -401,6 +427,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -431,6 +459,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -460,6 +490,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -489,6 +521,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -520,6 +554,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -549,6 +585,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -582,6 +620,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -611,6 +651,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -641,6 +683,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -670,6 +714,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -699,6 +745,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -729,6 +777,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include @@ -764,6 +814,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsCpp.js */ #include diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap index 9129a7df326ba7..3fed947a715bea 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GeneratePropsH-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -221,6 +223,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -294,6 +298,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -326,6 +332,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -359,6 +367,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -391,6 +401,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -423,6 +435,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -460,6 +474,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -492,6 +508,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -524,6 +542,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -556,6 +576,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -588,6 +610,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -612,6 +636,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -649,6 +675,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -682,6 +710,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -715,6 +745,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -774,6 +806,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -808,6 +842,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -840,6 +876,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -878,6 +916,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -910,6 +950,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -1162,6 +1204,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -1195,6 +1239,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -1245,6 +1291,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -1278,6 +1326,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once @@ -1320,6 +1370,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GeneratePropsH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap index 94ce4a3e64a435..f953c291ba49a7 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeCpp-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -31,6 +33,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -54,6 +58,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -77,6 +83,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -100,6 +108,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -123,6 +133,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -146,6 +158,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -169,6 +183,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -192,6 +208,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -215,6 +233,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -238,6 +258,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -261,6 +283,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -284,6 +308,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -307,6 +333,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -330,6 +358,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -353,6 +383,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -376,6 +408,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -399,6 +433,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -422,6 +458,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -445,6 +483,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -468,6 +508,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -491,6 +533,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -514,6 +558,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -537,6 +583,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -560,6 +608,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include @@ -584,6 +634,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeCpp.js */ #include diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap index ff15cf0d55a5b5..bb34cfbab42793 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateShadowNodeH-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -41,6 +43,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -74,6 +78,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -107,6 +113,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -140,6 +148,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -173,6 +183,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -206,6 +218,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -239,6 +253,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -274,6 +290,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -309,6 +327,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -335,6 +355,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -368,6 +390,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -401,6 +425,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -434,6 +460,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -467,6 +495,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -500,6 +530,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -533,6 +565,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -566,6 +600,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -592,6 +628,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -625,6 +663,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -658,6 +698,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -691,6 +733,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -724,6 +768,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -757,6 +803,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -790,6 +838,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once @@ -832,6 +882,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateShadowNodeH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap index d08b35e6fa0b75..c4add04c8956e4 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateTests-test.js.snap @@ -7,7 +7,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -36,7 +38,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -64,7 +68,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -101,7 +107,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -138,7 +146,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -166,7 +176,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -203,7 +215,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -231,7 +245,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -268,7 +284,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -305,7 +323,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -333,7 +353,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -361,7 +383,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -389,7 +413,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -471,7 +497,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -509,7 +537,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -537,7 +567,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -565,7 +597,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -593,7 +627,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -630,7 +666,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -695,7 +733,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -723,7 +763,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -752,7 +794,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -789,7 +833,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -844,7 +890,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -890,7 +938,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include @@ -945,7 +995,9 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */ + * + * @generated by codegen project: GenerateTests.js + * */ #include #include diff --git a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap index d92c6470d7cfe8..35c49ffe489873 100644 --- a/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap +++ b/packages/react-native-codegen/src/generators/components/__tests__/__snapshots__/GenerateViewConfigJs-test.js.snap @@ -10,6 +10,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -55,6 +57,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -90,6 +94,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -125,6 +131,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -160,6 +168,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -203,6 +213,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -249,6 +261,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -289,6 +303,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -334,6 +350,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -399,6 +417,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -461,6 +481,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -493,6 +515,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -525,6 +549,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -565,6 +591,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -600,6 +628,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -635,6 +665,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -670,6 +702,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -707,6 +741,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -752,6 +788,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -790,6 +828,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -822,6 +862,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -857,6 +899,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -892,6 +936,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -927,6 +973,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -963,6 +1011,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -1014,6 +1064,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; @@ -1065,6 +1117,8 @@ Map { * LICENSE file in the root directory of this source tree. * * @flow + * + * @generated by codegen project: GenerateViewConfigJs.js */ 'use strict'; diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js index 6f61945cd9df9b..cf02b4095b1c92 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleCpp.js @@ -48,6 +48,8 @@ const template = ` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GenerateModuleH.js */ #include diff --git a/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js b/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js index 0594f626ce9d66..7342ad01a7c32a 100644 --- a/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js +++ b/packages/react-native-codegen/src/generators/modules/GenerateModuleH.js @@ -37,6 +37,8 @@ const template = `/** * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * ${'@'}generated by codegen project: GenerateModuleH.js */ #pragma once diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap index d55f56b4b576ee..41d445cb0895b1 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleCpp-test.js.snap @@ -8,6 +8,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #include @@ -57,6 +59,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #include @@ -86,6 +90,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #include @@ -123,6 +129,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #include @@ -210,6 +218,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #include @@ -285,6 +295,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #include @@ -332,6 +344,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #include diff --git a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap index 09fb053c8bfac7..fbdcb15bae2c68 100644 --- a/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap +++ b/packages/react-native-codegen/src/generators/modules/__tests__/__snapshots__/GenerateModuleH-test.js.snap @@ -7,6 +7,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #pragma once @@ -41,6 +43,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #pragma once @@ -72,6 +76,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #pragma once @@ -104,6 +110,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #pragma once @@ -160,6 +168,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #pragma once @@ -201,6 +211,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #pragma once @@ -242,6 +254,8 @@ Map { * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. + * + * @generated by codegen project: GenerateModuleH.js */ #pragma once