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

Function makeDelimitedSelector

src/languages/csharp.ts:156–161  ·  view source on GitHub ↗
(leftType: string, rightType: string)

Source from the content-addressed store, hash-verified

154 node.childForFieldName("initializer");
155
156const makeDelimitedSelector = (leftType: string, rightType: string) =>
157 delimitedSelector(
158 (node) =>
159 node.type === "," || node.type === leftType || node.type === rightType,
160 ", "
161 );
162
163const getMapMatchers = {
164 map: cascadingMatcher(

Callers 1

csharp.tsFile · 0.85

Calls 1

delimitedSelectorFunction · 0.90

Tested by

no test coverage detected