Skip to content

Print less brackets for binary operators #4

@antonmedv

Description

@antonmedv

Refactor String() methods to print less brackets for binary operators.

Example:

((foo && bar) && baz)

Can be printed as

foo && bar && baz

This optimization should respect operators precedence.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions