org.asciidoctor.syntaxhighlighter.HighlightResult Maven / Gradle / Ivy
package org.asciidoctor.syntaxhighlighter;
/**
* This API is experimental and might change in an incompatible way in a minor version update!
*/
public class HighlightResult {
private String highlightedSource;
private Integer lineOffset;
public HighlightResult(String highlightedSource) {
this.highlightedSource = highlightedSource;
}
public HighlightResult(String highlightedSource, Integer lineOffset) {
this(highlightedSource);
this.lineOffset = lineOffset;
}
public String getHighlightedSource() {
return highlightedSource;
}
public Integer getLineOffset() {
return lineOffset;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy