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

Structured output of a run action. More...

#include <Compiler_Driver_Contracts.H>

Collaboration diagram for Aleph::Compiler_Driver_Run_Output:
[legend]

Public Member Functions

bool ok () const noexcept
 Returns whether execution succeeded or never ran.
 

Public Attributes

bool executed = false
 Whether the current driver action actually executed code.
 
Interpreter_Execution_Result result
 Raw runtime result.
 
std::string value_text
 Stable rendering of the produced value.
 
std::string globals_text
 Stable dump of the final globals environment.
 

Detailed Description

Structured output of a run action.

Definition at line 156 of file Compiler_Driver_Contracts.H.

Member Function Documentation

◆ ok()

bool Aleph::Compiler_Driver_Run_Output::ok ( ) const
inlinenoexcept

Returns whether execution succeeded or never ran.

Definition at line 164 of file Compiler_Driver_Contracts.H.

References Aleph::blossom_maximum_cardinality_matching(), executed, Aleph::Interpreter_Execution_Result::ok(), and result.

Member Data Documentation

◆ executed

bool Aleph::Compiler_Driver_Run_Output::executed = false

Whether the current driver action actually executed code.

Definition at line 158 of file Compiler_Driver_Contracts.H.

Referenced by Aleph::Compiler_Driver::execute_hir_runtime(), Aleph::Compiler_Generic_Driver::execute_hir_runtime(), and ok().

◆ globals_text

std::string Aleph::Compiler_Driver_Run_Output::globals_text

Stable dump of the final globals environment.

Definition at line 161 of file Compiler_Driver_Contracts.H.

Referenced by Aleph::Compiler_Driver::execute_hir_runtime(), and Aleph::Compiler_Generic_Driver::execute_hir_runtime().

◆ result

◆ value_text

std::string Aleph::Compiler_Driver_Run_Output::value_text

Stable rendering of the produced value.

Definition at line 160 of file Compiler_Driver_Contracts.H.

Referenced by Aleph::Compiler_Driver::execute_hir_runtime(), and Aleph::Compiler_Generic_Driver::execute_hir_runtime().


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