Module syntax::ast_util
[−]
[src]
Structs
| IdRange | [Unstable] |
| IdVisitor |
[Unstable] A visitor that applies its operation to all of the node IDs in a visitable thing. |
Constants
| AS_PREC |
[Unstable] Precedence of the |
Traits
| IdVisitingOperation | [Unstable] |
Functions
| binop_to_string | [Unstable] |
| compute_id_range_for_fn_body |
[Unstable] Computes the id range for a single fn body, ignoring nested items. |
| compute_id_range_for_inlined_item | [Unstable] |
| empty_generics | [Unstable] |
| float_ty_to_string | [Unstable] |
| ident_to_pat | [Unstable] |
| ident_to_path | [Unstable] |
| impl_pretty_name |
[Unstable] Generate a "pretty" name for an |
| int_ty_max | [Unstable] |
| int_ty_to_string |
[Unstable] Get a string representation of a signed int type, with its value. We want to avoid "45int" and "-3int" in favor of "45" and "-3" |
| is_by_value_binop |
[Unstable] Returns |
| is_by_value_unop |
[Unstable] Returns |
| is_comparison_binop | [Unstable] |
| is_local | [Unstable] |
| is_path | [Unstable] |
| is_shift_binop | [Unstable] |
| lazy_binop | [Unstable] |
| lit_is_str |
[Unstable] Returns true if this literal is a string and false otherwise. |
| local_def | [Unstable] |
| name_to_dummy_lifetime | [Unstable] |
| operator_prec |
[Unstable] Maps a binary operator to its precedence |
| pat_is_ident |
[Unstable] Returns true if the given pattern consists solely of an identifier and false otherwise. |
| path_name_eq | [Unstable] |
| path_name_i | [Unstable] |
| path_to_ident | [Unstable] |
| segments_name_eq | [Unstable] |
| stmt_id | [Unstable] |
| struct_def_is_tuple_like |
[Unstable] Returns true if the given struct def is tuple-like; i.e. that its fields are unnamed. |
| struct_field_visibility | [Unstable] |
| uint_ty_max | [Unstable] |
| uint_ty_to_string |
[Unstable] Get a string representation of an unsigned int type, with its value. We want to avoid "42u" in favor of "42us". "42uint" is right out. |
| unop_to_string | [Unstable] |
| visit_ids_for_inlined_item | [Unstable] |
| walk_pat | [Unstable] |