[][src]Module rustc_ap_syntax::print::pprust

Structs

Comments
NoAnn
State

Enums

AnnNode
MacHeader

Traits

PpAnn
PrintState

Functions

ast_ident_to_string

Print an ident from AST, $crate is converted into its respective crate name.

attribute_to_string
bounds_to_string
expr_to_string
generic_params_to_string
item_to_string
literal_to_string
meta_list_item_to_string
nonterminal_to_string
param_to_string
pat_to_string
path_segment_to_string
path_to_string
print_crate

Requires you to pass an input filename and reader so that it can scan the input text for comments to copy forward.

stmt_to_string
to_string
token_kind_to_string

Print the token kind precisely, without converting $crate into its respective crate name.

token_to_string

Print the token precisely, without converting $crate into its respective crate name.

tt_to_string
tts_to_string
ty_to_string
vis_to_string