SymbolTableBuilder._ensureFinalized

private void _ensureFinalized()

Finalize the symbol table order (locals before globals) and build the handle-to-index mapping.