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

Function sepBy

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

1221 * @return {ChoiceRule}
1222 */
1223function sepBy(sep, rule) {
1224 return optional(sepBy1(sep, rule));
1225}
1226
1227/**
1228 * 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