MCPcopy Index your code
hub / github.com/codeaashu/claude-code / nextWORD

Method nextWORD

src/utils/Cursor.ts:774–786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

772 }
773
774 nextWORD(): Cursor {
775 // eslint-disable-next-line @typescript-eslint/no-this-alias
776 let nextCursor: Cursor = this
777 // If we're on a non-whitespace character, move to the next whitespace
778 while (!nextCursor.isOverWhitespace() && !nextCursor.isAtEnd()) {
779 nextCursor = nextCursor.right()
780 }
781 // now move to the next non-whitespace character
782 while (nextCursor.isOverWhitespace() && !nextCursor.isAtEnd()) {
783 nextCursor = nextCursor.right()
784 }
785 return nextCursor
786 }
787
788 endOfWORD(): Cursor {
789 if (this.isAtEnd()) {

Callers 3

endOfWORDMethod · 0.80
getOperatorRangeFunction · 0.80
applySingleMotionFunction · 0.80

Calls 3

isOverWhitespaceMethod · 0.80
isAtEndMethod · 0.80
rightMethod · 0.80

Tested by

no test coverage detected