Type Definition rust_code_analysis::Span

source ·
pub type Span = Option<(usize, usize, usize, usize)>;
Expand description

Start and end positions of a node in a code in terms of rows and columns.

The first and second fields represent the row and column associated to the start position of a node.

The third and fourth fields represent the row and column associated to the end position of a node.