MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pr_ident_end

Function pr_ident_end

src/pipeline/doc_links_php.c:441–449  ·  view source on GitHub ↗

The end of an identifier at s[i] (i when there is none). */

Source from the content-addressed store, hash-verified

439
440/* The end of an identifier at s[i] (i when there is none). */
441static size_t pr_ident_end(const char *s, size_t i, size_t n) {
442 if (i >= n || !pr_ident_start(s[i])) {
443 return i;
444 }
445 while (i < n && pr_ident_char(s[i])) {
446 i++;
447 }
448 return i;
449}
450
451/* The end of a name (`\`-joined identifiers, a leading `\` allowed) at s[0]. */
452static size_t pr_name_end(const char *s, size_t n) {

Callers 2

pr_name_endFunction · 0.85
pr_parseFunction · 0.85

Calls 2

pr_ident_startFunction · 0.85
pr_ident_charFunction · 0.85

Tested by

no test coverage detected