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

Method printCursorLocationInfo

src/core/Debug.ts:124–128  ·  view source on GitHub ↗
(cursor: TreeCursor, depth: number)

Source from the content-addressed store, hash-verified

122 }
123
124 private printCursorLocationInfo(cursor: TreeCursor, depth: number) {
125 const field = cursor.currentFieldName();
126 const fieldText = field != null ? `${field}: ` : "";
127 console.debug(">".repeat(depth + 1), `${fieldText}${cursor.nodeType}`);
128 }
129}

Callers 1

logBranchTypesMethod · 0.95

Calls 1

currentFieldNameMethod · 0.80

Tested by

no test coverage detected