literal_from_expression

Function literal_from_expression 

Source
fn literal_from_expression(expr: &Expression) -> Option<LiteralValue>