Package org.commonmark.parser
Class SourceLines
java.lang.Object
org.commonmark.parser.SourceLines
A set of lines (
SourceLine
) from the input source.- Since:
- 0.16.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLine
(SourceLine sourceLine) static SourceLines
empty()
getLines()
boolean
isEmpty()
static SourceLines
of
(List<SourceLine> sourceLines) static SourceLines
of
(SourceLine sourceLine)
-
Field Details
-
lines
-
-
Constructor Details
-
SourceLines
public SourceLines()
-
-
Method Details
-
empty
-
of
-
of
-
addLine
-
getLines
-
isEmpty
public boolean isEmpty() -
getContent
-
getSourceSpans
-