Top Fields Constructors Methods
com.vladsch.flexmark.util.ast

public Class BlockContent

extends Object
Class Inheritance
Imports
com.vladsch.flexmark.util.sequence.BasedSequence, .SegmentedSequence, org.jetbrains.annotations.NotNull, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
private final ArrayList<Integer>
private final ArrayList<BasedSequence>

Constructor Summary

AccessConstructor and Description
public
public
BlockContent(@NotNull BlockContent other, int startLine, int lineIndent)

Method Summary

Modifier and TypeMethod and Description
public void
add(@NotNull BasedSequence lineWithEOL, int lineIndent)

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

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

public int
public @NotNull BasedSequence
getLine(int line)

public int
public int
public @NotNull List<Integer>
public @NotNull List<BasedSequence>
public int
public @NotNull BasedSequence
public int
public @NotNull String
public boolean
public @NotNull BlockContent
subContents(int startLine, int endLine)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

lineIndentsback to summary
private final ArrayList<Integer> lineIndents
linesback to summary
private final ArrayList<BasedSequence> lines

Constructor Detail

BlockContentback to summary
public BlockContent()
BlockContentback to summary
public BlockContent(@NotNull BlockContent other, int startLine, int lineIndent)

Method Detail

addback to summary
public void add(@NotNull BasedSequence lineWithEOL, int lineIndent)
addAllback to summary
public void addAll(@NotNull List<BasedSequence> lines, List<Integer> lineIndents)
getContentsback to summary
public @NotNull BasedSequence getContents()
Annotations
@NotNull
getContentsback to summary
public @NotNull BasedSequence getContents(int startLine, int endLine)
Annotations
@NotNull
getEndOffsetback to summary
public int getEndOffset()
getLineback to summary
public @NotNull BasedSequence getLine(int line)
Annotations
@NotNull
getLineCountback to summary
public int getLineCount()
getLineIndentback to summary
public int getLineIndent()
getLineIndentsback to summary
public @NotNull List<Integer> getLineIndents()
Annotations
@NotNull
getLinesback to summary
public @NotNull List<BasedSequence> getLines()
Annotations
@NotNull
getSourceLengthback to summary
public int getSourceLength()
getSpanningCharsback to summary
public @NotNull BasedSequence getSpanningChars()
Annotations
@NotNull
getStartOffsetback to summary
public int getStartOffset()
getStringback to summary
public @NotNull String getString()
Annotations
@NotNull
hasSingleLineback to summary
public boolean hasSingleLine()
subContentsback to summary
public @NotNull BlockContent subContents(int startLine, int endLine)
Annotations
@NotNull