Skip to content

Unify separate formatting logic #81

Description

@MarcellPerger1

Is is really sensible to have 2 different pretty-printers? We currently have:

  • util.pformat
  • parser.common.tree_print

I guess tree_print is specific to AST/CST nodes but still we should unify these, perhaps via some sort of extensibility or _pformat_ or similar?

See also: #76

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-GeneralArea: General stuff (isn't in any specfic area)T-refactorRefactor

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions