struct

Xerp::Adapters::AdapterResult

Inherits Struct < Value < Object

Result of adapter block detection.

Constructors

new(blocks : Array(Xerp::Adapters::BlockInfo), block_idx_by_line : Array(Int32))
Source

Instance methods

block_for_line(line_num : Int32) : Int32 | Nil

Returns the block index for a given 1-indexed line number.

Source
block_idx_by_line
Source
blocks
Source