MCPcopy
hub / github.com/tailwindlabs/tailwindcss / find

Method find

packages/tailwindcss/src/source-maps/line-table.ts:34–34  ·  view source on GitHub ↗

* Find the line/column position in the source code for a given offset * * Searching for a given offset takes O(log N) time where N is the number of * lines of code. * * @param offset The index for which to find the position

(offset: number)

Source from the content-addressed store, hash-verified

32 * @param offset The index for which to find the position
33 */
34 find(offset: number): Position
35
36 /**
37 * Find the most likely byte offset for given a position

Callers 12

constructorMethod · 0.80
createSourceMapFunction · 0.80
createTranslationMapFunction · 0.80
line-table.test.tsFile · 0.80
toSourceFunction · 0.80
build.tsFile · 0.80
runFunction · 0.80
candidates.test.tsFile · 0.80
multi-root.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected