MCPcopy Index your code
hub / github.com/antlr/antlr4 / length

Method length

runtime/JavaScript/src/antlr4/misc/IntervalSet.js:257–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255 }
256
257 get length(){
258 return this.intervals.map( interval => interval.length ).reduce((acc, val) => acc + val);
259 }
260}

Callers

nothing calls this directly

Calls 2

reduceMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected