syn/
export.rs

1pub use std::clone::Clone;
2pub use std::cmp::{Eq, PartialEq};
3pub use std::convert::From;
4pub use std::default::Default;
5pub use std::fmt::{self, Debug, Formatter};
6pub use std::hash::{Hash, Hasher};
7pub use std::marker::Copy;
8pub use std::option::Option::{None, Some};
9pub use std::result::Result::{Err, Ok};
10
11#[cfg(feature = "printing")]
12pub extern crate quote;
13
14pub use proc_macro2::{Span, TokenStream as TokenStream2};
15
16pub use crate::span::IntoSpans;
17
18#[cfg(all(
19    not(all(target_arch = "wasm32", any(target_os = "unknown", target_os = "wasi"))),
20    feature = "proc-macro"
21))]
22pub use proc_macro::TokenStream;
23
24#[cfg(feature = "printing")]
25pub use quote::{ToTokens, TokenStreamExt};
26
27#[allow(non_camel_case_types)]
28pub type bool = help::Bool;
29#[allow(non_camel_case_types)]
30pub type str = help::Str;
31
32mod help {
33    pub type Bool = bool;
34    pub type Str = str;
35}