Skip to content

Cm5Mode.innerMode method

Cm5Mode › innerMode

Unofficial

Returns the innermost mode and state at the given state, for modes that wrap other modes.

Signature:

innerMode(state: T): Cm5InnerModeResult

Parameters:

ParameterTypeDescription
stateTThe current parser state.

Returns: Cm5InnerModeResultThe innermost mode and its state.