|
morph 0.1.0
Asynchronous bridge between GUI thread and business models
|
What an expression's names resolve to, for checkExpression: the document's scopes implement it. More...
#include <expression.hpp>
Public Member Functions | |
| NameResolver (NameResolver const &)=delete | |
| NameResolver & | operator= (NameResolver const &)=delete |
| NameResolver (NameResolver &&)=delete | |
| NameResolver & | operator= (NameResolver &&)=delete |
| virtual std::expected< Type, std::string > | ref (std::string_view head, std::span< std::string const > path) const =0 |
| Resolves {"ref": "head.path"}. | |
| virtual std::expected< Type, std::string > | row (std::span< std::string const > path) const =0 |
| Resolves {"row": "path"}. | |
| virtual std::expected< Type, std::string > | control (ExprKind form, std::string_view name) const =0 |
| Resolves the name of query, pending, error, result, errorKind or can. | |
| virtual std::expected< Type, std::string > | pref (std::string_view point, std::span< std::string const > path) const =0 |
| Resolves {"pref": "point.path"}. | |
What an expression's names resolve to, for checkExpression: the document's scopes implement it.
Definition at line 682 of file expression.hpp.
|
nodiscardpure virtual |
Resolves {"ref": "head.path"}.
| head | The first segment. |
| path | The segments after it. |
Implemented in morph::ui::detail::ScopeResolver, and morph::ui::PermissiveResolver.
|
nodiscardpure virtual |
Resolves {"row": "path"}.
| path | The field path inside the row. |
Implemented in morph::ui::detail::ScopeResolver, and morph::ui::PermissiveResolver.
|
nodiscardpure virtual |
Resolves the name of query, pending, error, result, errorKind or can.
| form | The form. |
| name | The query or mutation name. |
Implemented in morph::ui::detail::ScopeResolver, and morph::ui::PermissiveResolver.
|
nodiscardpure virtual |
Resolves {"pref": "point.path"}.
| point | The customization point. |
| path | The segments after it. |
Implemented in morph::ui::detail::ScopeResolver, and morph::ui::PermissiveResolver.