MCPcopy
hub / github.com/antlr/antlr4 / length

Method length

runtime/JavaScript/src/antlr4/misc/BitSet.js:93–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 }
92
93 get length() {
94 return this.data.map(l => BitSet._bitCount(l)).reduce((s, v) => s + v, 0);
95 }
96
97 _resize(index) {
98 const count = index + 32 >>> 5;

Callers 15

RunOptionsMethod · 0.45
execParseMethod · 0.45
parseMethod · 0.45
getGrammarNameMethod · 0.45
getCompilerPathMethod · 0.45
getRuntimeToolPathMethod · 0.45
runMethod · 0.45
findSourceSubdirMethod · 0.45
testActionsMethod · 0.45

Calls 3

_bitCountMethod · 0.80
reduceMethod · 0.45
mapMethod · 0.45

Tested by 11

RunOptionsMethod · 0.36
execParseMethod · 0.36
parseMethod · 0.36
getGrammarNameMethod · 0.36
getCompilerPathMethod · 0.36
getRuntimeToolPathMethod · 0.36
runMethod · 0.36
testActionsMethod · 0.36