Skip to main content

SourcePos

Type Alias SourcePos 

Source
pub type SourcePos = [[usize; 2]; 2];
Expand description

[[startLine, startCol], [endLine, endCol]], all 1-based, with columns counted in characters (not bytes) as the spec counts them.