dprint_swc_ext/common/mod.rs
1mod comments;
2mod pos;
3mod text_encoding;
4mod text_info;
5mod tokens;
6mod types;
7
8pub use comments::*;
9pub use pos::*;
10pub use text_info::*;
11pub use text_lines;
12pub use tokens::*;
13pub use types::*;
14
15/// A 0-indexed line and column type.
16pub type LineAndColumnIndex = text_lines::LineAndColumnIndex;
17
18/// A 1-indexed line and column type which should be used for
19/// display purposes only (ex. in diagnostics).
20pub type LineAndColumnDisplay = text_lines::LineAndColumnDisplay;