class League / CommonMark / Node / Inline / AdjacentTextMerger
final

AdjacentTextMerger

Methods

public static

mergeChildNodes ( Node $node ) : void

public static

mergeTextNodesBetweenExclusive ( Node $fromNode , Node $toNode ) : void

public static

mergeWithDirectlyAdjacentNodes ( Text $node ) : void

private static

mergeTextNodesInclusive ( Node $fromNode , Node $toNode ) : void

private static

mergeIfNeeded ( Text $first , Text $last ) : void