Uses of Class
org.commonmark.parser.beta.Position
-
Packages that use Position Package Description org.commonmark.internal org.commonmark.internal.inline org.commonmark.parser.beta Experimental APIs to use for extensions. -
-
Uses of Position in org.commonmark.internal
Fields in org.commonmark.internal declared as Position Modifier and Type Field Description private Position
InlineParserImpl.LinkInfoImpl. afterTextBracket
Position
Bracket. bracketPosition
The position of[
.Position
Bracket. contentPosition
The position of the content (after the opening bracket)Position
Bracket. markerPosition
The position of the marker if present, null otherwise.Methods in org.commonmark.internal that return Position Modifier and Type Method Description Position
InlineParserImpl.LinkInfoImpl. afterTextBracket()
Methods in org.commonmark.internal with parameters of type Position Modifier and Type Method Description static Bracket
Bracket. link(Text bracketNode, Position bracketPosition, Position contentPosition, Bracket previous, Delimiter previousDelimiter)
private LinkInfo
InlineParserImpl. parseLinkInfo(Bracket opener, Position beforeClose)
private Node
InlineParserImpl. parseLinkOrImage(Bracket opener, Position beforeClose)
static Bracket
Bracket. withMarker(Text markerNode, Position markerPosition, Text bracketNode, Position bracketPosition, Position contentPosition, Bracket previous, Delimiter previousDelimiter)
Constructors in org.commonmark.internal with parameters of type Position Constructor Description Bracket(Text markerNode, Position markerPosition, Text bracketNode, Position bracketPosition, Position contentPosition, Bracket previous, Delimiter previousDelimiter)
LinkInfoImpl(Text marker, Text openingBracket, java.lang.String text, java.lang.String label, java.lang.String destination, java.lang.String title, Position afterTextBracket)
-
Uses of Position in org.commonmark.internal.inline
Fields in org.commonmark.internal.inline declared as Position Modifier and Type Field Description private Position
LinkResultImpl. position
private Position
ParsedInlineImpl. position
Methods in org.commonmark.internal.inline that return Position Modifier and Type Method Description Position
LinkResultImpl. getPosition()
Position
ParsedInlineImpl. getPosition()
Methods in org.commonmark.internal.inline with parameters of type Position Modifier and Type Method Description private ParsedInline
EntityInlineParser. entity(Scanner scanner, Position start)
private static ParsedInline
HtmlInlineParser. htmlInline(Position start, Scanner scanner)
Constructors in org.commonmark.internal.inline with parameters of type Position Constructor Description LinkResultImpl(LinkResultImpl.Type type, Node node, Position position)
ParsedInlineImpl(Node node, Position position)
-
Uses of Position in org.commonmark.parser.beta
Methods in org.commonmark.parser.beta that return Position Modifier and Type Method Description Position
LinkInfo. afterTextBracket()
The position after the closing text bracket, e.g.:Position
Scanner. position()
Methods in org.commonmark.parser.beta with parameters of type Position Modifier and Type Method Description SourceLines
Scanner. getSource(Position begin, Position end)
static ParsedInline
ParsedInline. of(Node node, Position position)
static LinkResult
LinkResult. replaceWith(Node node, Position position)
Replace the link with a node.void
Scanner. setPosition(Position position)
static LinkResult
LinkResult. wrapTextIn(Node node, Position position)
Wrap the link text in a node.
-