MCPcopy Create free account
hub / github.com/babel/babel / codeFrameColumns

Function codeFrameColumns

packages/babel-code-frame/src/browser.ts:9–15  ·  view source on GitHub ↗
(
  rawLines: string,
  loc: NodeLocation,
  opts: Options = {},
)

Source from the content-addressed store, hash-verified

7export type { Options };
8
9export function codeFrameColumns(
10 rawLines: string,
11 loc: NodeLocation,
12 opts: Options = {},
13): string {
14 return _codeFrameColumns(rawLines, loc, opts);
15}
16
17export function highlight(code: string) {
18 return code;

Callers

nothing calls this directly

Calls 1

_codeFrameColumnsFunction · 0.90

Tested by

no test coverage detected