morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::PermissiveResolver Class Referencefinal

A resolver that accepts every name as any: for an expression checked outside a document. More...

#include <expression.hpp>

Inheritance diagram for morph::ui::PermissiveResolver:
morph::ui::NameResolver

Public Member Functions

std::expected< Type, std::string > ref (std::string_view head, std::span< std::string const > path) const override
 Accepts any reference.
std::expected< Type, std::string > row (std::span< std::string const > path) const override
 Accepts any row path.
std::expected< Type, std::string > control (ExprKind form, std::string_view name) const override
 Accepts any query or mutation.
std::expected< Type, std::string > pref (std::string_view point, std::span< std::string const > path) const override
 Accepts any point.
Public Member Functions inherited from morph::ui::NameResolver
 NameResolver (NameResolver const &)=delete
NameResolver & operator= (NameResolver const &)=delete
 NameResolver (NameResolver &&)=delete
NameResolver & operator= (NameResolver &&)=delete

Detailed Description

A resolver that accepts every name as any: for an expression checked outside a document.

Definition at line 718 of file expression.hpp.

Member Function Documentation

◆ ref()

std::expected< Type, std::string > morph::ui::PermissiveResolver::ref ( std::string_view head,
std::span< std::string const > path ) const
inlinenodiscardoverridevirtual

Accepts any reference.

Parameters
headUnused.
pathUnused.
Returns
any.

Implements morph::ui::NameResolver.

Definition at line 724 of file expression.hpp.

◆ row()

std::expected< Type, std::string > morph::ui::PermissiveResolver::row ( std::span< std::string const > path) const
inlinenodiscardoverridevirtual

Accepts any row path.

Parameters
pathUnused.
Returns
any.

Implements morph::ui::NameResolver.

Definition at line 734 of file expression.hpp.

◆ control()

std::expected< Type, std::string > morph::ui::PermissiveResolver::control ( ExprKind form,
std::string_view name ) const
inlinenodiscardoverridevirtual

Accepts any query or mutation.

Parameters
formUnused.
nameUnused.
Returns
any.

Implements morph::ui::NameResolver.

Definition at line 743 of file expression.hpp.

◆ pref()

std::expected< Type, std::string > morph::ui::PermissiveResolver::pref ( std::string_view point,
std::span< std::string const > path ) const
inlinenodiscardoverridevirtual

Accepts any point.

Parameters
pointUnused.
pathUnused.
Returns
any.

Implements morph::ui::NameResolver.

Definition at line 753 of file expression.hpp.


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