nextState

@JvmName(name = "nextState")
actual external fun nextState(state: UShort, symbol: UShort): UShort(source)

Get the next parse state.

Combine this with lookaheadIterator to generate completion suggestions or valid symbols in error nodes.

Example

language.nextState(node.parseState, node.grammarSymbol)
expect fun nextState(state: UShort, symbol: UShort): UShort(source)

Get the next parse state.

Combine this with lookaheadIterator to generate completion suggestions or valid symbols in error nodes.

Example

language.nextState(node.parseState, node.grammarSymbol)
@JvmName(name = "nextState")
actual external fun nextState(state: UShort, symbol: UShort): UShort(source)

Get the next parse state.

Combine this with lookaheadIterator to generate completion suggestions or valid symbols in error nodes.

Example

language.nextState(node.parseState, node.grammarSymbol)
actual fun nextState(state: UShort, symbol: UShort): UShort(source)

Get the next parse state.

Combine this with lookaheadIterator to generate completion suggestions or valid symbols in error nodes.

Example

language.nextState(node.parseState, node.grammarSymbol)