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

Return statement in HIR. More...

#include <Compiler_HIR_Model.H>

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

Public Member Functions

 Compiler_HIR_Return_Stmt (Compiler_HIR_Expr *expr=nullptr, const Source_Span &sp={}) noexcept
 
- Public Member Functions inherited from Aleph::Compiler_HIR_Stmt
 Compiler_HIR_Stmt (const Compiler_HIR_Stmt_Kind k=Compiler_HIR_Stmt_Kind::Invalid, 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_HIR_Expr * value = nullptr
 Returned value, or nullptr.
 
- Public Attributes inherited from Aleph::Compiler_HIR_Stmt
Compiler_HIR_Stmt_Kind kind = Compiler_HIR_Stmt_Kind::Invalid
 Runtime node kind.
 
- Public Attributes inherited from Aleph::Compiler_HIR_Node
Source_Span span
 Source region associated with the HIR node.
 

Detailed Description

Return statement in HIR.

Definition at line 430 of file Compiler_HIR_Model.H.

Constructor & Destructor Documentation

◆ Compiler_HIR_Return_Stmt()

Aleph::Compiler_HIR_Return_Stmt::Compiler_HIR_Return_Stmt ( Compiler_HIR_Expr *  expr = nullptr,
const Source_Span &  sp = {} 
)
inlineexplicitnoexcept

Definition at line 434 of file Compiler_HIR_Model.H.

Member Data Documentation

◆ value

Compiler_HIR_Expr* Aleph::Compiler_HIR_Return_Stmt::value = nullptr

Returned value, or nullptr.

Definition at line 432 of file Compiler_HIR_Model.H.

Referenced by Aleph::Compiler_IR_Lowering::Module_Builder::lower_stmt().


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