| Package | Description |
|---|---|
| org.commonmark.node |
AST node types (see
Node) and visitors (see AbstractVisitor) |
| org.commonmark.parser |
Parsing input text to AST nodes (see
Parser) |
| org.commonmark.parser.block |
Types for extending block parsing
|
| Modifier and Type | Method and Description |
|---|---|
static SourceSpan |
SourceSpan.of(int lineIndex,
int columnIndex,
int length) |
| Modifier and Type | Method and Description |
|---|---|
List<SourceSpan> |
SourceSpans.getSourceSpans() |
List<SourceSpan> |
Node.getSourceSpans() |
| Modifier and Type | Method and Description |
|---|---|
void |
Node.addSourceSpan(SourceSpan sourceSpan)
Add a source span to the end of the list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SourceSpans.addAll(List<SourceSpan> other) |
void |
Node.setSourceSpans(List<SourceSpan> sourceSpans)
Replace the current source spans with the provided list.
|
| Modifier and Type | Method and Description |
|---|---|
SourceSpan |
SourceLine.getSourceSpan() |
| Modifier and Type | Method and Description |
|---|---|
List<SourceSpan> |
SourceLines.getSourceSpans() |
| Modifier and Type | Method and Description |
|---|---|
static SourceLine |
SourceLine.of(CharSequence content,
SourceSpan sourceSpan) |
| Modifier and Type | Method and Description |
|---|---|
void |
BlockParser.addSourceSpan(SourceSpan sourceSpan)
Add a source span of the currently parsed block.
|
void |
AbstractBlockParser.addSourceSpan(SourceSpan sourceSpan) |
Copyright © 2021. All rights reserved.