Module syntax::print::pprust [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Re-exports
pub use self::AnnNode::*; |
use rustc_target::spec::abi; |
use rustc_target::spec::abi::Abi; |
use ast; |
use ast::BlockCheckMode; |
use ast::PatKind; |
use ast::RangeEnd; |
use ast::RangeSyntax; |
use ast::SelfKind; |
use ast::RegionTyParamBound; |
use ast::TraitTyParamBound; |
use ast::TraitBoundModifier; |
use ast::Attribute; |
use ast::MacDelimiter; |
use util::parser; |
use util::parser::AssocOp; |
use util::parser::Fixity; |
use attr; |
use codemap; |
use codemap::CodeMap; |
use syntax_pos; |
use syntax_pos::BytePos; |
use syntax_pos::hygiene::Mark; |
use syntax_pos::hygiene::MarkKind; |
use syntax_pos::hygiene::SyntaxContext; |
use parse::token; |
use parse::token::BinOpToken; |
use parse::token::Token; |
use parse::lexer::comments; |
use parse; |
use parse::ParseSess; |
use print::pp; |
use print::pp::Breaks; |
use print::pp::Breaks::Consistent; |
use print::pp::Breaks::Inconsistent; |
use ptr::P; |
use ptr::P; |
use std_inject; |
use symbol::keywords; |
use syntax_pos::DUMMY_SP; |
use syntax_pos::FileName; |
use tokenstream; |
use tokenstream::TokenStream; |
use tokenstream::TokenTree; |
use std::ascii; |
use std::io; |
use std::io::Write; |
use std::io::Read; |
use std::iter; |
use std::iter::Peekable; |
use std::vec; |
Structs
NoAnn |
[ Experimental ]
|
State |
[ Experimental ]
|
Enums
AnnNode |
[ Experimental ]
|
Constants
DEFAULT_COLUMNS |
[ Experimental ]
|
INDENT_UNIT |
[ Experimental ]
|
Traits
PpAnn |
[ Experimental ]
|
PrintState |
[ Experimental ]
|
Functions
arg_to_string |
[ Experimental ]
|
arm_to_string |
[ Experimental ]
|
attr_to_string |
[ Experimental ]
|
attribute_to_string |
[ Experimental ]
|
binop_to_string |
[ Experimental ]
|
block_to_string |
[ Experimental ]
|
bounds_to_string |
[ Experimental ]
|
expr_to_string |
[ Experimental ]
|
fn_block_to_string |
[ Experimental ]
|
foreign_item_to_string |
[ Experimental ]
|
fun_to_string |
[ Experimental ]
|
generic_params_to_string |
[ Experimental ]
|
ident_to_string |
[ Experimental ]
|
impl_item_to_string |
[ Experimental ]
|
item_to_string |
[ Experimental ]
|
lifetime_to_string |
[ Experimental ]
|
lit_to_string |
[ Experimental ]
|
mac_to_string |
[ Experimental ]
|
meta_item_to_string |
[ Experimental ]
|
meta_list_item_to_string |
[ Experimental ]
|
pat_to_string |
[ Experimental ]
|
path_segment_to_string |
[ Experimental ]
|
path_to_string |
[ Experimental ]
|
print_crate |
[ Experimental ] Requires you to pass an input filename and reader so that it can scan the input text for comments and literals to copy forward. |
repeat |
[ Experimental ]
|
rust_printer |
[ Experimental ]
|
stmt_to_string |
[ Experimental ]
|
to_string |
[ Experimental ]
|
token_to_string |
[ Experimental ]
|
tokens_to_string |
[ Experimental ]
|
trait_item_to_string |
[ Experimental ]
|
tt_to_string |
[ Experimental ]
|
tts_to_string |
[ Experimental ]
|
ty_to_string |
[ Experimental ]
|
variant_to_string |
[ Experimental ]
|
vis_to_string |
[ Experimental ]
|
visibility_qualified |
[ Experimental ]
|
where_clause_to_string |
[ Experimental ]
|