Interface SourceSpan
- All Known Implementing Classes:
AdjoinedSourceSpan,EmptySourceSpan
public interface SourceSpan
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceSpanadjoin(Collection<? extends SourceSpan> sourceSpans) default SourceSpanadjoin(SourceSpan other) static SourceSpandefault StringformatSource(String message, int lineNrWidth, int showBefore, int showAfter) source()intintstatic LineAndChartoLineAndChar(SourceSpan sourceSpan, int baseLineNr, int baseCharNr)
-
Method Details
-
adjoin
-
emptySourceSpan
-
toLineAndChar
-
adjoin
-
formatSource
-
source
SourceString source() -
sourceBegin
int sourceBegin() -
sourceEnd
int sourceEnd() -
toSourceBegin
SourceSpan toSourceBegin() -
toSourceEnd
SourceSpan toSourceEnd()
-