Skip to main content

SyntaxPosition

Type Alias SyntaxPosition 

Source
pub type SyntaxPosition = (i64, i64);
Expand description

A (line, column) position in the code: 1-based line, 0-based column. Upstream’s SyntaxPosition: a 1-based line and a 0-based column. Both are signed, as upstream’s are (see Syntax::stylize_range).