morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::InterpreterOptions Struct Reference

What an Interpreter is built with. More...

#include <interpreter.hpp>

Public Attributes

InterpreterHost * host = nullptr
 The application's side of the commands; nullptr answers every one "not supported". Borrowed.
std::function< void(Refusal const &)> diagnostics
 Called with each diagnostic as it is reported: a runtime expression error, a command the host does not support, a node kind this interpreter does not lower.

Detailed Description

What an Interpreter is built with.

Definition at line 2097 of file interpreter.hpp.

Member Data Documentation

◆ host

InterpreterHost* morph::ui::InterpreterOptions::host = nullptr

The application's side of the commands; nullptr answers every one "not supported". Borrowed.

Definition at line 2099 of file interpreter.hpp.

◆ diagnostics

std::function<void(Refusal const&)> morph::ui::InterpreterOptions::diagnostics

Called with each diagnostic as it is reported: a runtime expression error, a command the host does not support, a node kind this interpreter does not lower.

Definition at line 2102 of file interpreter.hpp.


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