mirror of
https://github.com/astral-sh/ruff
synced 2026-01-22 14:00:51 -05:00
Move Token, TokenKind and Tokens to ruff-python-ast (#21760)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
use ruff_python_ast::token::{Token, TokenFlags, TokenKind};
|
||||
use ruff_text_size::{Ranged, TextRange, TextSize};
|
||||
|
||||
use crate::Mode;
|
||||
use crate::error::LexicalError;
|
||||
use crate::lexer::{Lexer, LexerCheckpoint};
|
||||
use crate::string::InterpolatedStringKind;
|
||||
use crate::token::{Token, TokenFlags, TokenKind, TokenValue};
|
||||
use crate::token::TokenValue;
|
||||
|
||||
/// Token source for the parser that skips over any trivia tokens.
|
||||
#[derive(Debug)]
|
||||
|
||||
Reference in New Issue
Block a user