APIdia Launch Partner
Top Methods
jdk.internal.org.commonmark.internal.inline

public Interface InlineParserState

Known Direct Implementers
jdk.internal.org.commonmark.internal.InlineParserImpl
Imports
jdk.internal.org.commonmark.parser.beta.Position, .Scanner

Method Summary

Modifier and TypeMethod and Description
public Scanner
scanner()

Return a scanner for the input for the current position (on the character that the inline parser registered interest for).

Method Detail

scannerback to summary
public Scanner scanner()

Return a scanner for the input for the current position (on the character that the inline parser registered interest for).

Note that this always returns the same instance, if you want to backtrack you need to use Scanner#position() and Scanner#setPosition(Position).