[src]

Module syntax::ast_util

IdRange
IdVisitor
pub static as_prec: uint = 12u

Precedence of the as operator, which is a binary operator not appearing in the prior table.

 
EachViewItem
IdVisitingOperation
binop_to_str
block_from_expr
compute_id_range_for_inlined_item
def_id_of_def
empty_generics
float_ty_to_str
get_inner_tys
ident_to_pat
ident_to_path
impl_pretty_name

Generate a "pretty" name for an impl from its type and trait. This is designed so that symbols of impl'd methods give some hint of where they came from, (previously they would all just be listed as __extensions__::method_name::hash, with no indication of the type).

int_ty_max
int_ty_to_str
is_call_expr
is_item_impl
is_local
is_path
is_shift_binop
is_unguarded
lazy_binop
lit_is_str
local_def
name_to_dummy_lifetime
operator_prec

Maps a binary operator to its precedence

pat_is_ident

Returns true if the given pattern consists solely of an identifier and false otherwise.

path_name_eq
path_name_i
path_to_ident
public_methods
segments_name_eq
split_trait_methods
stmt_id
struct_def_is_tuple_like

Returns true if the given struct def is tuple-like; i.e. that its fields are unnamed.

struct_field_visibility
trait_method_to_ty_method
uint_ty_max
uint_ty_to_str
unguarded_pat
unop_to_str
variant_def_ids
view_path_id
visit_ids_for_inlined_item
walk_pat