spudplate
Template scaffolding compiler for spudlang .spud files
Loading...
Searching...
No Matches
spudplate::BinaryExpr Struct Reference

A binary expression node, e.g. More...

#include <ast.h>

Public Attributes

TokenType op
 The operator token.
 
ExprPtr left
 Left-hand operand.
 
ExprPtr right
 Right-hand operand.
 
int line
 1-based source line where this node begins.
 
int column
 1-based source column where this node begins.
 

Detailed Description

A binary expression node, e.g.

a + b or x == y.

Covers arithmetic, comparison, and logical binary operators.