Skip to content

Binary operation base class#1545

Open
Janther wants to merge 3 commits intomainfrom
binary-operation
Open

Binary operation base class#1545
Janther wants to merge 3 commits intomainfrom
binary-operation

Conversation

@Janther
Copy link
Copy Markdown
Member

@Janther Janther commented May 4, 2026

All binary operations have a leftOperand, operator, and a rightOperand and most of them have some logic to put parentheses around the operands.

Here we get rid of all of this boilerplate.

@Janther Janther requested a review from fvictorio May 4, 2026 17:50
@Janther Janther changed the title Binary operation Binary operation base class May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant