Skip to main content

dump_expr

Function dump_expr 

Source
pub fn dump_expr(unit: &TranslationUnit, expr: &Expr) -> String
Expand description

Renders a single expression (useful for focused tests).

The unit is needed because a type inside the expression may name a tag specifier, which lives in TranslationUnit::records.