MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / codeShapedQueryTokens

Function codeShapedQueryTokens

src/mcp/explore-one-symbol.ts:106–108  ·  view source on GitHub ↗
(query: string)

Source from the content-addressed store, hash-verified

104
105/** The tokens of `query` written like code, in the order written, once each. */
106export function codeShapedQueryTokens(query: string): string[] {
107 return queryNameTokens(query).filter((token) => WRITTEN_AS_CODE.test(token));
108}
109
110/** The symbols a query names: the names as written, and what they define. */
111export interface NamedSymbolAnchors {

Callers 1

Calls 1

queryNameTokensFunction · 0.85

Tested by

no test coverage detected