Package org.commonmark.internal
Class Bracket
java.lang.Object
org.commonmark.internal.Bracket
Opening bracket for links (
[
) or images (![
).-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
Whether this bracket is allowed to form a link/image (also known as "active").boolean
Whether there is an unescaped bracket (opening or closing) anywhere after this opening bracket.final Position
The position of the content (after the opening bracket)final boolean
Whether this is an image or link.final Position
The position of the marker for the bracket ([
or![
)final Text
final Bracket
Previous bracket.final Delimiter
Previous delimiter (emphasis, etc) before this bracket. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
node
-
markerPosition
The position of the marker for the bracket ([
or![
) -
contentPosition
The position of the content (after the opening bracket) -
image
public final boolean imageWhether this is an image or link. -
previous
Previous bracket. -
previousDelimiter
Previous delimiter (emphasis, etc) before this bracket. -
allowed
public boolean allowedWhether this bracket is allowed to form a link/image (also known as "active"). -
bracketAfter
public boolean bracketAfterWhether there is an unescaped bracket (opening or closing) anywhere after this opening bracket.
-
-
Constructor Details
-
Bracket
-
-
Method Details
-
link
-
image
-