Lines Matching refs:prefix
21 const prefix = `ABI${sdkNumber}_0_0`; constant
22 const config = vendoredModulesTransforms(prefix);
23 const baseTransforms = baseTransformsFactory(prefix);
88 function baseTransformsFactory(prefix: string): Required<FileTransforms> {
93 replaceWith: `${prefix}$1`,
97 replaceWith: `${prefix}$1$2$3`,
104 replaceWith: `"name": "${prefix}$1"`,
109 replaceWith: `$1${prefix}$2`,
113 replaceWith: `${prefix}$1$2`,
118 return `${prefix}${p1 === 'react' ? 'React' : p1}::`;
124 return `namespace ${prefix}${p1 === 'react' ? 'React' : p1}`;
131 replaceWith: `namespace $1::${prefix}React`,
137 replaceWith: `${prefix}R$1`,
143 replaceWith: (_, p1) => `${prefix.toLowerCase()}R${p1}`,
150 find: new RegExp(`RCT_EXTERN_MODULE\\((?!${prefix})(\\w+)`, 'g'),
151 replaceWith: `RCT_EXTERN_REMAP_MODULE($1, ${prefix}$1`,
155 replaceWith: `<${prefix}jsi/${prefix}$1.h>`,
159 replaceWith: `${prefix}$1.h`,
163 replaceWith: `viewFor${prefix}ReactTag`,
167 replaceWith: `is${prefix}ReactRootView`,
171 replaceWith: `Is${prefix}ReactRootView`,
174 find: `UIView+${prefix}React.h`,
175 replaceWith: `${prefix}UIView+React.h`,
181 replaceWith: `@objc(${prefix}$1)`,
185 find: new RegExp(`${prefix}React-${prefix}RCT`, 'g'),
186 replaceWith: `${prefix}React-RCT`,
191 replaceWith: `${prefix}$1`,
195 find: new RegExp(`${prefix}React-Core\\/${prefix}RCT`, 'g'),
196 replaceWith: `${prefix}React-Core/RCT`,
199 find: `${prefix}${prefix}`,
200 replaceWith: `${prefix}`,