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

Typed unary expression. More...

#include <Compiler_HIR_Model.H>

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

Public Member Functions

 Compiler_HIR_Unary_Expr (const Compiler_Operator_Kind k=Compiler_Operator_Kind::Invalid, const Compiler_Type_Id ty=0, const Source_Span &op_sp={}, Compiler_HIR_Expr *expr=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
 Unary operator kind.
 
Source_Span operator_span
 Span of the operator token.
 
Compiler_HIR_Expr * operand = nullptr
 Operand expression.
 
- 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 unary expression.

Definition at line 327 of file Compiler_HIR_Model.H.

Constructor & Destructor Documentation

◆ Compiler_HIR_Unary_Expr()

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

Definition at line 333 of file Compiler_HIR_Model.H.

Member Data Documentation

◆ op

Compiler_Operator_Kind Aleph::Compiler_HIR_Unary_Expr::op = Compiler_Operator_Kind::Invalid

Unary operator kind.

Definition at line 329 of file Compiler_HIR_Model.H.

◆ operand

Compiler_HIR_Expr* Aleph::Compiler_HIR_Unary_Expr::operand = nullptr

Operand expression.

Definition at line 331 of file Compiler_HIR_Model.H.

◆ operator_span

Source_Span Aleph::Compiler_HIR_Unary_Expr::operator_span

Span of the operator token.

Definition at line 330 of file Compiler_HIR_Model.H.


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