Replace row/column based Location with byte-offsets. (#3931)
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
use std::ops::Deref;
|
||||
|
||||
use rustpython_parser::ast::{
|
||||
Alias, Arg, Arguments, Boolop, Cmpop, Comprehension, Constant, ConversionFlag, Excepthandler,
|
||||
Alias, Arg, Arguments, Boolop, Cmpop, Comprehension, Constant, Excepthandler,
|
||||
ExcepthandlerKind, Expr, ExprKind, MatchCase, Operator, Pattern, PatternKind, Stmt, StmtKind,
|
||||
Suite, Withitem,
|
||||
};
|
||||
use rustpython_parser::ConversionFlag;
|
||||
|
||||
use ruff_rustpython::vendor::{bytes, str};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user