Package com.vladsch.flexmark.util.ast
Class BlockContent
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.BlockContent
-
public class BlockContent extends Object
-
-
Constructor Summary
Constructors Constructor Description BlockContent()BlockContent(@NotNull BlockContent other, int startLine, int lineIndent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(@NotNull com.vladsch.flexmark.util.sequence.BasedSequence lineWithEOL, int lineIndent)voidaddAll(@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lines, List<Integer> lineIndents)@NotNull com.vladsch.flexmark.util.sequence.BasedSequencegetContents()@NotNull com.vladsch.flexmark.util.sequence.BasedSequencegetContents(int startLine, int endLine)intgetEndOffset()@NotNull com.vladsch.flexmark.util.sequence.BasedSequencegetLine(int line)intgetLineCount()intgetLineIndent()@NotNull List<Integer>getLineIndents()@NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence>getLines()intgetSourceLength()@NotNull com.vladsch.flexmark.util.sequence.BasedSequencegetSpanningChars()intgetStartOffset()@NotNull StringgetString()booleanhasSingleLine()@NotNull BlockContentsubContents(int startLine, int endLine)
-
-
-
Constructor Detail
-
BlockContent
public BlockContent()
-
BlockContent
public BlockContent(@NotNull @NotNull BlockContent other, int startLine, int lineIndent)
-
-
Method Detail
-
getLine
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getLine(int line)
-
getSpanningChars
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getSpanningChars()
-
getLines
@NotNull public @NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> getLines()
-
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 com.vladsch.flexmark.util.sequence.BasedSequence lineWithEOL, int lineIndent)
-
addAll
public void addAll(@NotNull @NotNull List<com.vladsch.flexmark.util.sequence.BasedSequence> lines, List<Integer> lineIndents)
-
hasSingleLine
public boolean hasSingleLine()
-
getContents
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContents()
-
subContents
@NotNull public @NotNull BlockContent subContents(int startLine, int endLine)
-
getContents
@NotNull public @NotNull com.vladsch.flexmark.util.sequence.BasedSequence getContents(int startLine, int endLine)
-
getString
@NotNull public @NotNull String getString()
-
-