Class BlockContent

java.lang.Object
com.vladsch.flexmark.util.ast.BlockContent

public class BlockContent extends Object
  • Field Details

  • Constructor Details

    • BlockContent

      public BlockContent()
    • BlockContent

      public BlockContent(@NotNull @NotNull BlockContent other, int startLine, int lineIndent)
  • Method Details

    • getLine

      @NotNull public @NotNull BasedSequence getLine(int line)
    • getSpanningChars

      @NotNull public @NotNull BasedSequence getSpanningChars()
    • getLines

      @NotNull public @NotNull List<BasedSequence> getLines()
    • getLineIndents

      @NotNull public @NotNull List<Integer> getLineIndents()
    • getLineCount

      public int getLineCount()
    • getStartOffset

      public int getStartOffset()
    • getEndOffset

      public int getEndOffset()
    • getLineIndent

      public int getLineIndent()
    • getSourceLength

      public int getSourceLength()
    • add

      public void add(@NotNull @NotNull BasedSequence lineWithEOL, int lineIndent)
    • addAll

      public void addAll(@NotNull @NotNull List<BasedSequence> lines, List<Integer> lineIndents)
    • hasSingleLine

      public boolean hasSingleLine()
    • getContents

      @NotNull public @NotNull BasedSequence getContents()
    • subContents

      @NotNull public @NotNull BlockContent subContents(int startLine, int endLine)
    • getContents

      @NotNull public @NotNull BasedSequence getContents(int startLine, int endLine)
    • getString

      @NotNull public @NotNull String getString()