rearrange modules in a suggestd reading order

This commit is contained in:
Aleksey Kladov 2019-02-20 16:24:39 +03:00
parent a4a1e08ab8
commit 45fc91cc47
2 changed files with 10 additions and 9 deletions

View File

@ -16,18 +16,19 @@
#![allow(missing_docs)]
//#![warn(unreachable_pub)] // rust-lang/rust#47816
pub mod algo;
pub mod ast;
mod syntax_kinds;
mod syntax_node;
mod syntax_text;
mod syntax_error;
mod parsing;
mod string_lexing;
mod syntax_kinds;
mod validation;
mod ptr;
pub mod algo;
pub mod ast;
/// Utilities for simple uses of the parser.
pub mod utils;
mod validation;
mod syntax_node;
mod ptr;
mod syntax_error;
mod syntax_text;
pub use rowan::{SmolStr, TextRange, TextUnit};
pub use crate::{

View File

@ -4,8 +4,8 @@
mod lexer;
mod parser_impl;
mod parser_api;
mod reparsing;
mod grammar;
mod reparsing;
use crate::{
SyntaxError,