* @param {ParserState} state parser state * @param {TopLevelSymbol | undefined} symbol the symbol
(state, symbol)
| 270 | * @param {TopLevelSymbol | undefined} symbol the symbol |
| 271 | */ |
| 272 | function setTopLevelSymbol(state, symbol) { |
| 273 | const innerGraphState = getState(state); |
| 274 | |
| 275 | if (innerGraphState) { |
| 276 | innerGraphState.currentTopLevelSymbol = symbol; |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * @param {ParserState} state parser state |
nothing calls this directly
no test coverage detected