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

Function sepBy

tools/tree-sitter-tsx/define-grammar.js:1134–1136  ·  view source on GitHub ↗

* Creates a rule to optionally match one or more of the rules separated by a separator * * @param {RuleOrLiteral} sep * * @param {RuleOrLiteral} rule * * @return {ChoiceRule}

(sep, rule)

Source from the content-addressed store, hash-verified

1132 * @return {ChoiceRule}
1133 */
1134function sepBy(sep, rule) {
1135 return optional(sepBy1(sep, rule));
1136}
1137
1138/**
1139 * Creates a rule to match one or more of the rules separated by a separator

Callers 1

commaSepFunction · 0.70

Calls 1

sepBy1Function · 0.70

Tested by

no test coverage detected