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

Function sepBy1

tools/tree-sitter-arkts/grammar.js:1236–1238  ·  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

1234 * @return {SeqRule}
1235 */
1236function sepBy1(sep, rule) {
1237 return seq(rule, repeat(seq(sep, rule)));
1238}

Callers 3

grammar.jsFile · 0.70
commaSep1Function · 0.70
sepByFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected