Top Description Fields Constructors Methods
jdk.internal.org.commonmark.node

public Class SourceSpans

extends Object
Class Inheritance
Imports
java.util.ArrayList, .Collections, .List

A list of source spans that can be added to. Takes care of merging adjacent source spans.
Since
0.16.0

Field Summary

Modifier and TypeField and Description
private List<SourceSpan>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
addAllFrom(Iterable<? extends Node> nodes)

public static SourceSpans
public List<SourceSpan>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

sourceSpansback to summary
private List<SourceSpan> sourceSpans

Constructor Detail

SourceSpansback to summary
public SourceSpans()

Method Detail

addAllback to summary
public void addAll(List<SourceSpan> other)
addAllFromback to summary
public void addAllFrom(Iterable<? extends Node> nodes)
emptyback to summary
public static SourceSpans empty()
getSourceSpansback to summary
public List<SourceSpan> getSourceSpans()