rust-analyzer/src/lib.rs

13 lines
252 B
Rust
Raw Normal View History

2017-12-29 20:33:04 +00:00
extern crate unicode_xid;
2017-12-28 21:56:36 +00:00
mod text;
mod tree;
mod lexer;
2017-12-31 20:34:29 +00:00
mod parser;
2017-12-28 21:56:36 +00:00
pub mod syntax_kinds;
2017-12-31 14:54:33 +00:00
pub use text::{TextUnit, TextRange};
2017-12-31 20:27:36 +00:00
pub use tree::{SyntaxKind, Token, FileBuilder, File, Node};
2017-12-31 14:54:33 +00:00
pub use lexer::{next_token, tokenize};
2017-12-31 20:34:29 +00:00
pub use parser::parse;