MCPcopy Create free account
hub / github.com/cursorless-dev/cursorless / toPosition

Function toPosition

src/util/nodeFinders.ts:38–38  ·  view source on GitHub ↗
(point: Point)

Source from the content-addressed store, hash-verified

36};
37
38const toPosition = (point: Point) => new Position(point.row, point.column);
39
40export const argumentNodeFinder = (...parentTypes: string[]): NodeFinder => {
41 const left = ["(", "{", "["];

Callers 1

argumentNodeFinderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected