Skip to content

Feature: Add option to PrettyPrinter\Standard to print raw values for Int/Float scalars #1109

@Girgias

Description

@Girgias

While working on https://github.com/Girgias/stub-to-docbook I came across a normalization from the pretty printer that I don't want.
Namely, the "normalization" of scalar values (in particular int and float) e.g. 0xFF being converted to 0xff and 2.4578e12 being expanded to 2457800000000.0.

This is easily fixed on my side, but was wondering if this should be an option for the standard pretty parser or not?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions