[][src]Module c2rust_refactor::reflect

Functions for building AST representations of higher-level values.

Functions

anon_const_to_expr
can_reflect_path

Wrapper around reflect_path that checks first to ensure its argument is the sort of def that has a path. reflect_path will panic if called on a def with no path.

reflect_def_path

Build a path referring to a specific def.

reflect_tcx_ty

Build an AST representing a ty::Ty.

register_commands