* @param {ParserState} state parser state * @returns {TopLevelSymbol | void} usage data
(state)
| 258 | * @returns {TopLevelSymbol | void} usage data |
| 259 | */ |
| 260 | function getTopLevelSymbol(state) { |
| 261 | const innerGraphState = getState(state); |
| 262 | |
| 263 | if (innerGraphState) { |
| 264 | return innerGraphState.currentTopLevelSymbol; |
| 265 | } |
| 266 | } |
| 267 | |
| 268 | /** |
| 269 | * @param {ParserState} state parser state |
nothing calls this directly
no test coverage detected