Uses of Class
org.commonmark.node.SourceSpan
Packages that use SourceSpan
Package
Description
AST node types (see
Node) and visitors (see AbstractVisitor)Parsing input text to AST nodes (see
Parser)Types for extending block parsing
-
Uses of SourceSpan in org.commonmark.node
Methods in org.commonmark.node that return SourceSpanModifier and TypeMethodDescriptionstatic SourceSpanSourceSpan.of(int lineIndex, int columnIndex, int length) Deprecated.static SourceSpanSourceSpan.of(int line, int col, int input, int length) SourceSpan.subSpan(int beginIndex) SourceSpan.subSpan(int beginIndex, int endIndex) Methods in org.commonmark.node that return types with arguments of type SourceSpanMethods in org.commonmark.node with parameters of type SourceSpanModifier and TypeMethodDescriptionvoidNode.addSourceSpan(SourceSpan sourceSpan) Add a source span to the end of the list.Method parameters in org.commonmark.node with type arguments of type SourceSpanModifier and TypeMethodDescriptionvoidSourceSpans.addAll(List<SourceSpan> other) voidNode.setSourceSpans(List<SourceSpan> sourceSpans) Replace the current source spans with the provided list. -
Uses of SourceSpan in org.commonmark.parser
Methods in org.commonmark.parser that return SourceSpanMethods in org.commonmark.parser that return types with arguments of type SourceSpanMethods in org.commonmark.parser with parameters of type SourceSpanModifier and TypeMethodDescriptionstatic SourceLineSourceLine.of(CharSequence content, SourceSpan sourceSpan) -
Uses of SourceSpan in org.commonmark.parser.block
Methods in org.commonmark.parser.block with parameters of type SourceSpanModifier and TypeMethodDescriptionvoidAbstractBlockParser.addSourceSpan(SourceSpan sourceSpan) voidBlockParser.addSourceSpan(SourceSpan sourceSpan) Add a source span of the currently parsed block.
SourceSpan.of(int, int, int, int)} instead to also specify input index.