|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Structured output of a run action.
More...
#include <Compiler_Driver_Contracts.H>
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. | |
Structured output of a run action.
Definition at line 156 of file Compiler_Driver_Contracts.H.
|
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.
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().
| 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().
| Interpreter_Execution_Result Aleph::Compiler_Driver_Run_Output::result |
Raw runtime result.
Definition at line 159 of file Compiler_Driver_Contracts.H.
Referenced by Aleph::Compiler_Driver::append_run_failure_if_needed(), Aleph::Compiler_Generic_Driver::append_run_failure_if_needed(), Aleph::Compiler_Driver::execute_hir_runtime(), Aleph::Compiler_Generic_Driver::execute_hir_runtime(), and ok().
| 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().