write_literal_value

Function write_literal_value 

Source
fn write_literal_value<S: Scope, W: Write>(
    lit: &LiteralType,
    ctx: &S,
    w: &mut W,
) -> Result
Expand description

Write just the value portion of a literal, with no type suffix or nullability marker.

For unimplemented types, writes an error token via ctx.failure().