mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-27 05:44:45 +00:00
Generic "comment to node" association logic (#4642)
This commit is contained in:
parent
84a5584888
commit
0cd453bdf0
29 changed files with 1574 additions and 65 deletions
|
@ -14,7 +14,9 @@ pub use locator::Locator;
|
|||
pub use stylist::{Quote, Stylist};
|
||||
|
||||
pub use crate::source_code::line_index::{LineIndex, OneIndexed};
|
||||
pub use comment_ranges::{CommentRanges, CommentRangesBuilder};
|
||||
|
||||
mod comment_ranges;
|
||||
mod generator;
|
||||
mod indexer;
|
||||
mod line_index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue