mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
dedupe literal parsers
This commit is contained in:
parent
dbf03b674e
commit
73ded3c63c
10 changed files with 220 additions and 374 deletions
|
@ -1,13 +1,7 @@
|
|||
mod parser;
|
||||
mod byte;
|
||||
mod byte_string;
|
||||
mod char;
|
||||
mod string;
|
||||
|
||||
pub use self::{
|
||||
byte::parse_byte_literal,
|
||||
byte_string::parse_byte_string_literal,
|
||||
char::parse_char_literal,
|
||||
parser::{CharComponent, CharComponentKind, StringComponent, StringComponentKind},
|
||||
string::parse_string_literal,
|
||||
parser::{StringComponent, StringComponentKind},
|
||||
string::{parse_string_literal, parse_char_literal, parse_byte_literal, parse_byte_string_literal},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue