mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
ra_syntax: refactored the lexer design as per @matklad and @kiljacken PR review
This commit is contained in:
parent
bf60661aa3
commit
9e7eaa959f
9 changed files with 202 additions and 181 deletions
|
@ -41,7 +41,9 @@ use crate::syntax_node::GreenNode;
|
|||
pub use crate::{
|
||||
algo::InsertPosition,
|
||||
ast::{AstNode, AstToken},
|
||||
parsing::{first_token, single_token, tokenize, tokenize_append, Token, TokenizeError},
|
||||
parsing::{
|
||||
lex_single_syntax_kind, lex_single_valid_syntax_kind, tokenize, Token, TokenizeError,
|
||||
},
|
||||
ptr::{AstPtr, SyntaxNodePtr},
|
||||
syntax_error::{Location, SyntaxError, SyntaxErrorKind},
|
||||
syntax_node::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue