Skip to main content

expression_to_string

Function expression_to_string 

Source
pub fn expression_to_string(expr: &LicenseExpression) -> String
Expand description

§Returns

String representation of the expression

§Parentheses

Parentheses are added when needed to preserve semantic meaning based on operator precedence (WITH > AND > OR). This matches the Python license-expression library behavior. Convert a license expression to its string representation.