Yume
Public Member Functions | Public Attributes | List of all members
yume::Val Struct Reference

A value of a complied expression. More...

#include <vals.hpp>

Collaboration diagram for yume::Val:
Collaboration graph
[legend]

Public Member Functions

 Val (llvm::Value *llvm_val) noexcept
 
 Val (llvm::Value *llvm_val, InScope *scope_val) noexcept
 
 operator llvm::Value * () const
 

Public Attributes

llvm::Value * llvm {}
 
InScopescope {}
 

Detailed Description

A value of a complied expression.

Definition at line 262 of file vals.hpp.

Constructor & Destructor Documentation

◆ Val() [1/2]

yume::Val::Val ( llvm::Value *  llvm_val)
inlinenoexcept

Definition at line 266 of file vals.hpp.

◆ Val() [2/2]

yume::Val::Val ( llvm::Value *  llvm_val,
InScope scope_val 
)
inlinenoexcept

Definition at line 267 of file vals.hpp.

Member Function Documentation

◆ operator llvm::Value *()

yume::Val::operator llvm::Value * ( ) const
inline

Definition at line 269 of file vals.hpp.

Member Data Documentation

◆ llvm

llvm::Value* yume::Val::llvm {}

◆ scope

InScope* yume::Val::scope {}

Definition at line 264 of file vals.hpp.

Referenced by yume::Compiler::expression().


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