class Asciidoctor::AbstractBlock
def assign_index(section)
Block (in document order)
Assign the next index of this section within the parent
Internal: Assign the next index (0-based) to this section
def assign_index(section) section.index = @next_section_index @next_section_index += 1 end