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

Function spaces

src/extraction/languages/objcpp.ts:173–173  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

171const OPERATOR_NAME = /^\s*(?:(?:[-+*/%^&|~!<>=,]|->)+|\(\s*\)|\[\s*\]|""\s*\w+|[\w:\s*&<>]+?)\s*\(/;
172
173const spaces = (text: string): string => text.replace(/[^\n\r]/g, ' ');
174
175/** `(0 … )` of the length of `text`, a bracketed expression, its line breaks kept. */
176function placeholder(text: string): string {

Callers 4

placeholderFunction · 0.85
scanItemFunction · 0.85
splitObjcppFunction · 0.85
withoutObjcppItemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected