MCPcopy Create free account
hub / github.com/tree-sitter/tree-sitter-javascript / commaSep

Function commaSep

grammar.js:1322–1324  ·  view source on GitHub ↗

* Creates a rule to optionally match one or more of the rules separated by a comma * * @param {Rule} rule * * @returns {ChoiceRule}

(rule)

Source from the content-addressed store, hash-verified

1320 * @returns {ChoiceRule}
1321 */
1322function commaSep(rule) {
1323 return optional(commaSep1(rule));
1324}

Callers 1

grammar.jsFile · 0.85

Calls 1

commaSep1Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…