Package com.vladsch.flexmark.util.ast
Class BlockContent
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.BlockContent
-
public class BlockContent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BlockContent()
BlockContent(BlockContent other, int startLine, int lineIndent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(BasedSequence lineWithEOL, int lineIndent)
void
addAll(java.util.List<BasedSequence> lines, java.util.List<java.lang.Integer> lineIndents)
BasedSequence
getContents()
BasedSequence
getContents(int startLine, int endLine)
int
getEndOffset()
BasedSequence
getLine(int line)
int
getLineCount()
int
getLineIndent()
java.util.List<java.lang.Integer>
getLineIndents()
java.util.List<BasedSequence>
getLines()
int
getSourceLength()
BasedSequence
getSpanningChars()
int
getStartOffset()
java.lang.String
getString()
boolean
hasSingleLine()
BlockContent
subContents(int startLine, int endLine)
-
-
-
Constructor Detail
-
BlockContent
public BlockContent()
-
BlockContent
public BlockContent(@NotNull BlockContent other, int startLine, int lineIndent)
-
-
Method Detail
-
getLine
@NotNull public BasedSequence getLine(int line)
-
getSpanningChars
@NotNull public BasedSequence getSpanningChars()
-
getLines
@NotNull public java.util.List<BasedSequence> getLines()
-
getLineIndents
@NotNull public java.util.List<java.lang.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 BasedSequence lineWithEOL, int lineIndent)
-
addAll
public void addAll(@NotNull java.util.List<BasedSequence> lines, java.util.List<java.lang.Integer> lineIndents)
-
hasSingleLine
public boolean hasSingleLine()
-
getContents
@NotNull public BasedSequence getContents()
-
subContents
@NotNull public BlockContent subContents(int startLine, int endLine)
-
getContents
@NotNull public BasedSequence getContents(int startLine, int endLine)
-
getString
@NotNull public java.lang.String getString()
-
-