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

Function arrayToString

runtime/JavaScript/src/antlr4/utils/arrayToString.js:7–9  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

5import valueToString from "./valueToString.js";
6
7export default function arrayToString(a) {
8 return Array.isArray(a) ? ("[" + a.map(valueToString).join(", ") + "]") : "null";
9}

Callers 7

getStateStringMethod · 0.85
computeTargetStateMethod · 0.85
getPredsForAmbigAltsMethod · 0.85
precedenceTransitionMethod · 0.85
predTransitionMethod · 0.85
toStringMethod · 0.85
toStringMethod · 0.85

Calls 2

joinMethod · 0.45
mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…