シェブロテインの内部規則のダンプ

const productions: Record<string, Rule> = parser.getGAstProductions();

console.dir(productions);

GAstが意味不明だが、Generated AST かな? ともかく、GAstProductions が内部的に構築されればバージングが出来る状態になる。