Top Fields Constructors Methods
com.vladsch.flexmark.ast.util

public Class LineCollectingVisitor

extends Object
Class Inheritance
Annotations
@SuppressWarnings:WeakerAccess
Imports
com.vladsch.flexmark.ast.*, com.vladsch.flexmark.util.ast.Node, .NodeVisitor, .VisitHandler, com.vladsch.flexmark.util.sequence.Range, java.util.ArrayList, .Collections, .List

Field Summary

Modifier and TypeField and Description
private int
private List<Integer>
private List<Range>
private int
private final NodeVisitor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
collect(Node node)

public List<Range>
private void
public List<Integer>
public List<Range>
private void
private void
private void
private void
private void
visit(Text node)

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

myEndOffsetback to summary
private int myEndOffset
myEOLsback to summary
private List<Integer> myEOLs
myLinesback to summary
private List<Range> myLines
myStartOffsetback to summary
private int myStartOffset
myVisitorback to summary
private final NodeVisitor myVisitor

Constructor Detail

LineCollectingVisitorback to summary
public LineCollectingVisitor()

Method Detail

collectback to summary
public void collect(Node node)
collectAndGetRangesback to summary
public List<Range> collectAndGetRanges(Node node)
finalizeLinesback to summary
private void finalizeLines()
getEOLsback to summary
public List<Integer> getEOLs()
getLinesback to summary
public List<Range> getLines()
visitback to summary
private void visit(SoftLineBreak node)
visitback to summary
private void visit(HardLineBreak node)
visitback to summary
private void visit(HtmlEntity node)
visitback to summary
private void visit(HtmlInline node)
visitback to summary
private void visit(Text node)
visitback to summary
private void visit(TextBase node)