Class Bracket

java.lang.Object
org.commonmark.internal.Bracket

public class Bracket extends Object
Opening bracket for links ([) or images (![).
  • Field Details

    • node

      public final Text node
    • markerPosition

      public final Position markerPosition
      The position of the marker for the bracket ([ or ![)
    • contentPosition

      public final Position contentPosition
      The position of the content (after the opening bracket)
    • image

      public final boolean image
      Whether this is an image or link.
    • previous

      public final Bracket previous
      Previous bracket.
    • previousDelimiter

      public final Delimiter previousDelimiter
      Previous delimiter (emphasis, etc) before this bracket.
    • allowed

      public boolean allowed
      Whether this bracket is allowed to form a link/image (also known as "active").
    • bracketAfter

      public boolean bracketAfter
      Whether there is an unescaped bracket (opening or closing) anywhere after this opening bracket.
  • Constructor Details

  • Method Details