Module: Markdown::Merge::PreservationSupport

Included in:
PartialTemplateMerger, SmartMergerBase
Defined in:
lib/markdown/merge/preservation_support.rb

Overview

Shared Markdown-local helper methods for statement classification, standalone comment fragment preservation, and remove-plan-backed range filtering.

Provides the canonical gap-line / blank-gap-line / non-blank-gap-line / structural-for-preservation predicate set used by both SmartMergerBase (removal mode) and PartialTemplateMerger (replace-mode insertion indexing). Both classes should call these predicates rather than performing direct is_a?(GapLineNode) checks.