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

Structured while-loop statement. More...

#include <Compiler_HIR_Model.H>

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

Public Member Functions

 Compiler_HIR_While_Stmt (Compiler_HIR_Expr *cond=nullptr, Compiler_HIR_Stmt *stmt=nullptr, const Source_Span &kw={}) 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 * condition = nullptr
 Loop condition.
 
Compiler_HIR_Stmt * body = nullptr
 Loop body.
 
Source_Span keyword_span
 Span of while.
 
- 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

Structured while-loop statement.

Definition at line 482 of file Compiler_HIR_Model.H.

Constructor & Destructor Documentation

◆ Compiler_HIR_While_Stmt()

Aleph::Compiler_HIR_While_Stmt::Compiler_HIR_While_Stmt ( Compiler_HIR_Expr *  cond = nullptr,
Compiler_HIR_Stmt *  stmt = nullptr,
const Source_Span &  kw = {} 
)
inlinenoexcept

Definition at line 488 of file Compiler_HIR_Model.H.

Member Data Documentation

◆ body

Compiler_HIR_Stmt* Aleph::Compiler_HIR_While_Stmt::body = nullptr

Loop body.

Definition at line 485 of file Compiler_HIR_Model.H.

◆ condition

Compiler_HIR_Expr* Aleph::Compiler_HIR_While_Stmt::condition = nullptr

Loop condition.

Definition at line 484 of file Compiler_HIR_Model.H.

◆ keyword_span

Source_Span Aleph::Compiler_HIR_While_Stmt::keyword_span

Span of while.

Definition at line 486 of file Compiler_HIR_Model.H.


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