type

InlineParserState

src @Js
mixin InlineParserState

InlineParserState

methods

scanner

Return a scanner for the input for the current position (on the trigger character that the inline parser was added for).

Slot Details

scanner

src abstract Scanner? scanner()

Return a scanner for the input for the current position (on the trigger character that the inline parser was added for).

Note that this always returns the same instance, if you want to backtrack you need to use Scanner.pos and Scanner.setPos.