Vendor SourceLocation from ruff

This commit is contained in:
Jeong YunWon
2023-05-10 15:27:28 +09:00
parent 1d366d52ab
commit 4dc030ba9d
8 changed files with 1741 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
// re-export our public interface
pub use ruff_python_ast::source_code::*;
pub use ruff_source_location::*;
pub type LineNumber = ruff_python_ast::source_code::OneIndexed;
pub type LineNumber = OneIndexed;
#[derive(Debug)]
pub struct SourceRange {