dprint_swc_ext::common

Type Alias LineAndColumnIndex

Source
pub type LineAndColumnIndex = LineAndColumnIndex;
Expand description

A 0-indexed line and column type.

Aliased Type§

struct LineAndColumnIndex {
    pub line_index: usize,
    pub column_index: usize,
}

Fields§

§line_index: usize

The zero-indexed line index.

§column_index: usize

The character index relative to the start of the line.