mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
port mbe to soa tokens
This commit is contained in:
parent
965585748e
commit
1055a6111a
7 changed files with 130 additions and 183 deletions
|
@ -1,8 +1,11 @@
|
|||
//! The Rust parser.
|
||||
//!
|
||||
//! NOTE: The crate is undergoing refactors, don't believe everything the docs
|
||||
//! say :-)
|
||||
//!
|
||||
//! The parser doesn't know about concrete representation of tokens and syntax
|
||||
//! trees. Abstract [`TokenSource`] and [`TreeSink`] traits are used instead.
|
||||
//! As a consequence, this crate does not contain a lexer.
|
||||
//! trees. Abstract [`TokenSource`] and [`TreeSink`] traits are used instead. As
|
||||
//! a consequence, this crate does not contain a lexer.
|
||||
//!
|
||||
//! The [`Parser`] struct from the [`parser`] module is a cursor into the
|
||||
//! sequence of tokens. Parsing routines use [`Parser`] to inspect current
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue