League/CommonMark
Changelog
Support
Upgrading Guide
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
On this page
On this page
Methods
mergeChildNodes
mergeTextNodesBetweenExclusive
mergeWithDirectlyAdjacentNodes
mergeTextNodesInclusive
mergeIfNeeded