Function sway_ir::printer::to_string

source ยท
pub fn to_string(context: &Context<'_>) -> String
Expand description

Pretty-print a whole Context to a string.

The output from this function must always be suitable for crate::parser::parse.