mirror of
https://github.com/RustPython/Parser.git
synced 2025-08-03 18:29:04 +00:00
Rename compiler Location to TextSize
This commit is contained in:
parent
58c35ab458
commit
f47dfca4e3
13 changed files with 9423 additions and 9427 deletions
|
@ -16,6 +16,5 @@ unparse = ["rustpython-literal"]
|
|||
[dependencies]
|
||||
rustpython-compiler-core = { path = "../core", version = "0.2.0" }
|
||||
rustpython-literal = { path = "../literal", version = "0.2.0", optional = true }
|
||||
ruff_text_size = { path = "../ruff_text_size" }
|
||||
|
||||
num-bigint = { workspace = true }
|
||||
|
|
|
@ -718,7 +718,7 @@ def write_ast_def(mod, typeinfo, f):
|
|||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
pub use crate::constant::*;
|
||||
pub use ruff_text_size::{TextSize, TextRange};
|
||||
pub use rustpython_compiler_core::text_size::{TextSize, TextRange};
|
||||
|
||||
type Ident = String;
|
||||
\n
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
pub use crate::constant::*;
|
||||
pub use ruff_text_size::{TextRange, TextSize};
|
||||
pub use rustpython_compiler_core::text_size::{TextRange, TextSize};
|
||||
|
||||
type Ident = String;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue