Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Compiler_HIR_Binary_Expr Struct Referencefinal

Typed binary expression. More...

#include <Compiler_HIR_Model.H>

Inheritance diagram for Aleph::Compiler_HIR_Binary_Expr:
[legend]
Collaboration diagram for Aleph::Compiler_HIR_Binary_Expr:
[legend]

Public Member Functions

 Compiler_HIR_Binary_Expr (Compiler_HIR_Expr *lhs=nullptr, const Compiler_Operator_Kind k=Compiler_Operator_Kind::Invalid, const Compiler_Type_Id ty=0, const Source_Span &op_sp={}, Compiler_HIR_Expr *rhs=nullptr) noexcept
 
- Public Member Functions inherited from Aleph::Compiler_HIR_Expr
 Compiler_HIR_Expr (const Compiler_HIR_Expr_Kind k=Compiler_HIR_Expr_Kind::Invalid, const Compiler_Type_Id ty=0, const Source_Span &sp={}) noexcept
 
- Public Member Functions inherited from Aleph::Compiler_HIR_Node
 Compiler_HIR_Node (const Source_Span &sp={}) noexcept
 

Public Attributes

Compiler_Operator_Kind op = Compiler_Operator_Kind::Invalid
 Binary operator kind.
 
Source_Span operator_span
 Span of the operator token.
 
Compiler_HIR_Expr * left = nullptr
 Left operand.
 
Compiler_HIR_Expr * right = nullptr
 Right operand.
 
- Public Attributes inherited from Aleph::Compiler_HIR_Expr
Compiler_HIR_Expr_Kind kind = Compiler_HIR_Expr_Kind::Invalid
 Runtime node kind.
 
Compiler_Type_Id type_id = 0
 Inferred or resolved type.
 
- Public Attributes inherited from Aleph::Compiler_HIR_Node
Source_Span span
 Source region associated with the HIR node.
 

Detailed Description

Typed binary expression.

Definition at line 345 of file Compiler_HIR_Model.H.

Constructor & Destructor Documentation

◆ Compiler_HIR_Binary_Expr()

Aleph::Compiler_HIR_Binary_Expr::Compiler_HIR_Binary_Expr ( Compiler_HIR_Expr *  lhs = nullptr,
const Compiler_Operator_Kind  k = Compiler_Operator_Kind::Invalid,
const Compiler_Type_Id  ty = 0,
const Source_Span &  op_sp = {},
Compiler_HIR_Expr *  rhs = nullptr 
)
inlinenoexcept

Definition at line 352 of file Compiler_HIR_Model.H.

Member Data Documentation

◆ left

Compiler_HIR_Expr* Aleph::Compiler_HIR_Binary_Expr::left = nullptr

Left operand.

Definition at line 349 of file Compiler_HIR_Model.H.

◆ op

Compiler_Operator_Kind Aleph::Compiler_HIR_Binary_Expr::op = Compiler_Operator_Kind::Invalid

Binary operator kind.

Definition at line 347 of file Compiler_HIR_Model.H.

◆ operator_span

Source_Span Aleph::Compiler_HIR_Binary_Expr::operator_span

Span of the operator token.

Definition at line 348 of file Compiler_HIR_Model.H.

◆ right

Compiler_HIR_Expr* Aleph::Compiler_HIR_Binary_Expr::right = nullptr

Right operand.

Definition at line 350 of file Compiler_HIR_Model.H.


The documentation for this struct was generated from the following file: