Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
RunOptions
Method · 0.45
execParse
Method · 0.45
parse
Method · 0.45
getGrammarName
Method · 0.45
getCompilerPath
Method · 0.45
getRuntimeToolPath
Method · 0.45
run
Method · 0.45
getAtnStatesSizeMoreThan65535Descriptor
Method · 0.45
grammarParseRuleToRecognizerName
Method · 0.45
findSourceSubdir
Method · 0.45
testActions
Method · 0.45
getFilenameFromFirstLineOfGrammar
Method · 0.45
Calls
3
_bitCount
Method · 0.80
reduce
Method · 0.45
map
Method · 0.45
Tested by
11
RunOptions
Method · 0.36
execParse
Method · 0.36
parse
Method · 0.36
getGrammarName
Method · 0.36
getCompilerPath
Method · 0.36
getRuntimeToolPath
Method · 0.36
run
Method · 0.36
getAtnStatesSizeMoreThan65535Descriptor
Method · 0.36
grammarParseRuleToRecognizerName
Method · 0.36
testActions
Method · 0.36
getFilenameFromFirstLineOfGrammar
Method · 0.36