Home
last modified time | relevance | path

Searched refs:codeFrame (Results 1 – 25 of 34) sorted by relevance

12

/expo/packages/@expo/cli/src/start/server/metro/
H A DmetroErrorInterface.ts45 codeFrame,
49 codeFrame: CodeFrame;
64 if (codeFrame) {
67 const lineText = codeFrame.content;
79 filePath: codeFrame.fileName,
80 line: codeFrame.location?.row,
113 Log.log(codeFrame.content);
167 codeFrame: log.codeFrame,
176 codeFrame: CodeFrame;
211 codeFrame: log.codeFrame,
[all …]
H A DMetroTerminalReporter.ts182 const codeFrame = stripMetroInfo(rawMessage); constant
183 if (codeFrame) {
184 message += '\n' + codeFrame;
/expo/packages/@expo/metro-runtime/src/error-overlay/overlay/
H A DLogBoxInspectorCodeFrame.tsx22 export function LogBoxInspectorCodeFrame({ codeFrame }: { codeFrame?: CodeFrame }) {
23 if (codeFrame == null) {
28 return formatProjectFilePath(process.env.EXPO_PROJECT_ROOT, codeFrame?.fileName);
32 const location = codeFrame?.location;
45 <Ansi style={styles.content} text={codeFrame.content} />
55 openFileInEditor(codeFrame.fileName, codeFrame.location?.row ?? 0);
/expo/packages/@expo/metro-runtime/src/error-overlay/Data/
H A DLogBoxLog.ts24 codeFrame?: CodeFrame;
56 codeFrame?: CodeFrame;
84 this.codeFrame = data.codeFrame;
174 this.updateStatus(type, null, data?.stack, data?.codeFrame);
187 codeFrame?: CodeFrame | null
197 if (codeFrame) {
198 this.codeFrame = codeFrame;
H A DparseLogBoxLog.tsx179 const [content, fileName, row, column, codeFrame] = metroInternalError.slice(1);
187 codeFrame: {
193 content: codeFrame,
206 const [fileName, content, row, column, codeFrame] = babelTransformError.slice(1);
213 codeFrame: {
219 content: codeFrame,
233 const [fileName, content, codeFrame] = babelCodeFrameError.slice(1);
239 codeFrame: {
242 content: codeFrame,
/expo/packages/@expo/metro-runtime/build/error-overlay/overlay/
H A DLogBoxInspectorCodeFrame.js46 function LogBoxInspectorCodeFrame({ codeFrame }) { field
47 if (codeFrame == null) {
51 …formatProjectFilePath_1.formatProjectFilePath)(process.env.EXPO_PROJECT_ROOT, codeFrame?.fileName);
54 const location = codeFrame?.location;
64 ….default.createElement(AnsiHighlight_1.Ansi, { style: styles.content, text: codeFrame.content }))),
69 … (0, openFileInEditor_1.default)(codeFrame.fileName, codeFrame.location?.row ?? 0);
H A DLogBoxInspectorCodeFrame.d.ts2 export declare function LogBoxInspectorCodeFrame({ codeFrame }: {
3 codeFrame?: CodeFrame;
H A DLogBoxInspectorCodeFrame.js.map1codeFrame }: { codeFrame?: CodeFrame }) {\n if (codeFrame == null) {\n return null;\n }\n\n …
/expo/packages/@expo/metro-runtime/build/error-overlay/Data/
H A DLogBoxLog.js52 codeFrame; field in LogBoxLog
74 this.codeFrame = data.codeFrame;
147 this.updateStatus(type, null, data?.stack, data?.codeFrame);
153 updateStatus(type, error, stack, codeFrame) { argument
163 if (codeFrame) {
164 this.codeFrame = codeFrame;
H A DparseLogBoxLog.js128 const [content, fileName, row, column, codeFrame] = metroInternalError.slice(1);
135 codeFrame: {
141 content: codeFrame,
153 const [fileName, content, row, column, codeFrame] = babelTransformError.slice(1);
159 codeFrame: {
165 content: codeFrame,
177 const [fileName, content, codeFrame] = babelCodeFrameError.slice(1);
183 codeFrame: {
186 content: codeFrame,
H A DLogBoxLog.d.ts19 codeFrame?: CodeFrame;
48 codeFrame?: CodeFrame;
H A DLogBoxSymbolication.js19 const sanitize = ({ stack: maybeStack, codeFrame, }) => { field
41 return { stack, codeFrame };
/expo/packages/@expo/config/src/
H A DevalConfig.ts39 const codeFrame = codeFrameColumns(contents, { start: error.loc }, { highlightCode: true }); constant
40 error.codeFrame = codeFrame;
41 error.message += `\n${codeFrame}`;
/expo/packages/@expo/config/build/
H A DevalConfig.js70 const codeFrame = codeFrameColumns(contents, {
75 error.codeFrame = codeFrame;
76 error.message += `\n${codeFrame}`;
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/LogBox/__tests__/__snapshots__/
H A DLogBoxNotificationContainer-test.js.snap20 "codeFrame": undefined,
39 "codeFrame": undefined,
H A DLogBoxInspectorContainer-test.js.snap28 "codeFrame": undefined,
65 "codeFrame": undefined,
124 "codeFrame": undefined,
175 "codeFrame": undefined,
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/LogBox/__tests__/__snapshots__/
H A DLogBoxNotificationContainer-test.js.snap20 "codeFrame": undefined,
39 "codeFrame": undefined,
H A DLogBoxInspectorContainer-test.js.snap28 "codeFrame": undefined,
65 "codeFrame": undefined,
124 "codeFrame": undefined,
175 "codeFrame": undefined,
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/LogBox/__tests__/__snapshots__/
H A DLogBoxNotificationContainer-test.js.snap20 "codeFrame": undefined,
39 "codeFrame": undefined,
H A DLogBoxInspectorContainer-test.js.snap28 "codeFrame": undefined,
65 "codeFrame": undefined,
124 "codeFrame": undefined,
175 "codeFrame": undefined,
/expo/packages/@expo/metro-runtime/build/error-overlay/modules/symbolicateStackTrace/
H A Dindex.d.ts20 codeFrame?: CodeFrame;
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/Libraries/LogBox/UI/__tests__/__snapshots__/
H A DLogBoxInspector-test.js.snap22 "codeFrame": undefined,
71 "codeFrame": undefined,
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/Libraries/LogBox/UI/__tests__/__snapshots__/
H A DLogBoxInspector-test.js.snap22 "codeFrame": undefined,
71 "codeFrame": undefined,
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/Libraries/LogBox/UI/__tests__/__snapshots__/
H A DLogBoxInspector-test.js.snap22 "codeFrame": undefined,
71 "codeFrame": undefined,
/expo/packages/@expo/metro-runtime/src/error-overlay/modules/symbolicateStackTrace/
H A Dindex.ts23 codeFrame?: CodeFrame;

12