mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-23 09:19:39 +00:00
Move Token, TokenKind and Tokens to ruff-python-ast (#21760)
This commit is contained in:
parent
508c0a0861
commit
515de2d062
80 changed files with 1484 additions and 1492 deletions
|
|
@ -3,13 +3,11 @@
|
|||
use bstr::ByteSlice;
|
||||
use std::fmt;
|
||||
|
||||
use ruff_python_ast::token::TokenKind;
|
||||
use ruff_python_ast::{self as ast, AnyStringFlags, AtomicNodeIndex, Expr, StringFlags};
|
||||
use ruff_text_size::{Ranged, TextRange, TextSize};
|
||||
|
||||
use crate::{
|
||||
TokenKind,
|
||||
error::{LexicalError, LexicalErrorType},
|
||||
};
|
||||
use crate::error::{LexicalError, LexicalErrorType};
|
||||
|
||||
#[derive(Debug)]
|
||||
pub(crate) enum StringType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue