MCPcopy Create free account
hub / github.com/RubyLouvre/anu / createQuantifier

Function createQuantifier

test/babel.js:58037–58051  ·  view source on GitHub ↗
(min, max, from, to)

Source from the content-addressed store, hash-verified

58035 }
58036
58037 function createQuantifier(min, max, from, to) {
58038 if (to == null) {
58039 from = pos - 1;
58040 to = pos;
58041 }
58042
58043 return addRaw({
58044 type: 'quantifier',
58045 min: min,
58046 max: max,
58047 greedy: true,
58048 body: null, // set later on
58049 range: [from, to]
58050 });
58051 }
58052
58053 function createAlternative(terms, from, to) {
58054 return addRaw({

Callers 1

parseQuantifierFunction · 0.85

Calls 1

addRawFunction · 0.85

Tested by

no test coverage detected