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

One declared name of a scope. More...

#include <document.hpp>

Public Attributes

NameCategory category = NameCategory::Param
 What it declares.
std::string path
 The declaration's JSON Pointer.
ScopeInfo * scope = nullptr
 The scope that declares it.
Type type
 The type of a param, of typed state, and of state or a let once derived.
ModelDecl const * model = nullptr
 The model of a Model entry.
ExprPtr derivedFrom
 The expression a state or let type is derived from; nullptr when the type is declared.
QueryDecl const * query = nullptr
 The query of a Query entry.
MutationDecl const * mutation = nullptr
 The mutation of a Mutation entry.
DocNode const * element = nullptr
 The element of an Element entry.
int visit = 0
 0 before its type is derived, 1 while it is, 2 after.

Detailed Description

One declared name of a scope.

Definition at line 2120 of file document.hpp.

Member Data Documentation

◆ category

NameCategory morph::ui::detail::NameEntry::category = NameCategory::Param

What it declares.

Definition at line 2122 of file document.hpp.

◆ path

std::string morph::ui::detail::NameEntry::path

The declaration's JSON Pointer.

Definition at line 2124 of file document.hpp.

◆ scope

ScopeInfo* morph::ui::detail::NameEntry::scope = nullptr

The scope that declares it.

Definition at line 2126 of file document.hpp.

◆ type

Type morph::ui::detail::NameEntry::type

The type of a param, of typed state, and of state or a let once derived.

Definition at line 2128 of file document.hpp.

◆ model

ModelDecl const* morph::ui::detail::NameEntry::model = nullptr

The model of a Model entry.

Definition at line 2130 of file document.hpp.

◆ derivedFrom

ExprPtr morph::ui::detail::NameEntry::derivedFrom

The expression a state or let type is derived from; nullptr when the type is declared.

Definition at line 2132 of file document.hpp.

◆ query

QueryDecl const* morph::ui::detail::NameEntry::query = nullptr

The query of a Query entry.

Definition at line 2134 of file document.hpp.

◆ mutation

MutationDecl const* morph::ui::detail::NameEntry::mutation = nullptr

The mutation of a Mutation entry.

Definition at line 2136 of file document.hpp.

◆ element

DocNode const* morph::ui::detail::NameEntry::element = nullptr

The element of an Element entry.

Definition at line 2138 of file document.hpp.

◆ visit

int morph::ui::detail::NameEntry::visit = 0

0 before its type is derived, 1 while it is, 2 after.

Definition at line 2140 of file document.hpp.


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