Build the DOM value for a single symbol.
Visits the symbol's polymorphic kind and returns a read-only reflection proxy for the concrete derived type: the same per-symbol object that corpus.symbols yields. A caller that wants to walk the corpus one symbol at a time (for example a generator serializing each symbol) uses this instead of reaching into the shape of buildCorpusDom.
A DOM value proxying the symbol.
| Name | Description |
|---|---|
| sym | The symbol to project. |