MCPcopy Index your code
hub / github.com/RubyLouvre/anu / createClassRange

Function createClassRange

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

Source from the content-addressed store, hash-verified

58068 }
58069
58070 function createClassRange(min, max, from, to) {
58071 // See 15.10.2.15:
58072 if (min.codePoint > max.codePoint) {
58073 bail('invalid range in character class', min.raw + '-' + max.raw, from, to);
58074 }
58075
58076 return addRaw({
58077 type: 'characterClassRange',
58078 min: min,
58079 max: max,
58080 range: [from, to]
58081 });
58082 }
58083
58084 function flattenBody(body) {
58085 if (body.type === 'alternative') {

Callers 1

parseHelperClassRangesFunction · 0.85

Calls 2

bailFunction · 0.85
addRawFunction · 0.85

Tested by

no test coverage detected