mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
spans always come from real file
This commit is contained in:
parent
394d11b0fa
commit
30093a6d81
57 changed files with 1369 additions and 1224 deletions
|
@ -30,12 +30,12 @@ use crate::{
|
|||
|
||||
// FIXME: we probably should re-think `token_tree_to_syntax_node` interfaces
|
||||
pub use ::parser::TopEntryPoint;
|
||||
pub use tt::{Delimiter, DelimiterKind, Punct};
|
||||
pub use tt::{Delimiter, DelimiterKind, Punct, SyntaxContext};
|
||||
|
||||
pub use crate::{
|
||||
syntax_bridge::{
|
||||
map_from_syntax_node, parse_exprs_with_sep, parse_to_token_tree, syntax_node_to_token_tree,
|
||||
syntax_node_to_token_tree_censored, token_tree_to_syntax_node,
|
||||
syntax_node_to_token_tree_censored, token_tree_to_syntax_node, SpanMapper,
|
||||
},
|
||||
token_map::TokenMap,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue