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

Function sepBy1

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

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

(sep, rule)

Source from the content-addressed store, hash-verified

1145 * @return {SeqRule}
1146 */
1147function sepBy1(sep, rule) {
1148 return seq(rule, repeat(seq(sep, rule)));
1149}

Callers 3

define-grammar.jsFile · 0.70
commaSep1Function · 0.70
sepByFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected