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

Typed variable reference expression. More...

#include <Compiler_HIR_Model.H>

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

Public Member Functions

 Compiler_HIR_Variable_Expr (std::string value="", const Compiler_Type_Id ty=0, const Source_Span &sp={}) 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

std::string name
 Variable or function name.
 
Source_Span name_span
 Span of the original identifier.
 
- 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 variable reference expression.

Definition at line 313 of file Compiler_HIR_Model.H.

Constructor & Destructor Documentation

◆ Compiler_HIR_Variable_Expr()

Aleph::Compiler_HIR_Variable_Expr::Compiler_HIR_Variable_Expr ( std::string  value = "",
const Compiler_Type_Id  ty = 0,
const Source_Span &  sp = {} 
)
inlinenoexcept

Definition at line 318 of file Compiler_HIR_Model.H.

Member Data Documentation

◆ name

std::string Aleph::Compiler_HIR_Variable_Expr::name

Variable or function name.

Definition at line 315 of file Compiler_HIR_Model.H.

Referenced by Aleph::Compiler_HIR_Detail::dump_expr().

◆ name_span

Source_Span Aleph::Compiler_HIR_Variable_Expr::name_span

Span of the original identifier.

Definition at line 316 of file Compiler_HIR_Model.H.


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