oxidate/
lib.rs

1//! A prototype implementation of the Rust syntax from scratch (rather than
2//! newtypes of `syn`) that support derive(Parse), derive(ToTokens) and other
3//! conveniences across all AST node types.
4
5extern crate proc_macro;
6
7pub mod ast;
8pub mod coerce;
9pub mod error;
10pub mod lex;
11pub mod tokens;
12pub mod traits;
13
14#[macro_use]
15mod macros;
16
17pub use self::ast::span::Span;
18pub use self::lex::literal::{literal_types::LiteralTrait, Literal, UnspannedLiteral};
19pub use self::tokens::{ParseBuffer, Tokens};
20pub use self::traits::*;
21
22pub mod tools {
23    pub use {::proc_macro2, ::proc_macro_error, ::quote};
24}