![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "lib/symbol.hpp"
Token or Atom with distinct identity.
It can be created from arbitrary strings, yet not altered
Definition at line 118 of file symbol.hpp.
Static Public Attributes | |
| static Symbol | ANY = "*" |
| static Symbol | EMPTY = "" |
| static Symbol | BOTTOM = "⟂" |
| static Symbol | FAILURE = "↯" |
Public Member Functions | |
| Symbol (CStr lit=NULL) | |
| Symbol (std::string &&definition) | |
| create Symbol by symbol table lookup. | |
| Symbol (std::string const &str) | |
| Symbol (Literal const &base, std::string const &ext) | |
| Symbol (Literal const &base, CStr ext) | |
| Symbol (Symbol const &)=default | |
| Symbol (Symbol &&)=default | |
| Symbol & | operator= (Symbol const &)=default |
| Symbol & | operator= (Symbol &&)=default |
| operator bool () const | |
| bool | empty () const |
Public Member Functions inherited from Literal | |
| constexpr | Literal () noexcept |
| empty string by default | |
| constexpr | Literal (CStr literal) noexcept |
| constexpr | Literal (Literal const &) noexcept=default |
| constexpr Literal & | operator= (Literal const &) noexcept=default |
| constexpr | operator CStr () const |
| constexpr const char * | c () const |
| constexpr bool | empty () const |
| constexpr bool | operator== (CStr cString) const |
| equality on Literal and Symbol values is defined based on the content, not the address. | |
| constexpr size_t | length () const |
Additional Inherited Members | |
Protected Member Functions inherited from Literal | |
| Literal & | operator= (CStr newStr) noexcept |
| Assignment generally prohibited. | |
Definition at line 127 of file symbol.hpp.
|
explicit |
create Symbol by symbol table lookup.
Definition at line 61 of file symbol-impl.cpp.
|
inline |
Definition at line 134 of file symbol.hpp.
Definition at line 138 of file symbol.hpp.
Definition at line 142 of file symbol.hpp.
|
inlineexplicit |
Definition at line 152 of file symbol.hpp.
References Symbol::empty().
Here is the call graph for this function:
|
inline |
Definition at line 153 of file symbol.hpp.
References Symbol::BOTTOM, Literal::c(), and Symbol::EMPTY.
Referenced by Symbol::operator bool().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 122 of file symbol.hpp.
Referenced by stage::interact::anonymous_namespace{ui-coord-resolver.cpp}::find_wildcardFree_suffix(), UICoord::isExplicit(), UICoord::isExtendedBelow(), UICoord::isPresent(), UICoord::isWildcard(), PathArray< chunk_size >::normalise(), and UICoordResolver::pathResolution().
|
static |
Definition at line 123 of file symbol.hpp.
Referenced by UICoord::accesComponent(), TimeGrid::build(), Symbol_test::checkSymbolCreation(), Symbol::empty(), stage::interact::anonymous_namespace{ui-coord-resolver.cpp}::find_wildcardFree_suffix(), PathArray< chunk_size >::normalise(), UICoordResolver::pathResolution(), PathArray_test::verify_basics(), UICoord_test::verify_basics(), PathArray_test::verify_iteration(), and UICoord_test::verify_stringRepr().
|
static |
Definition at line 124 of file symbol.hpp.
Referenced by Symbol_test::checkSymbolCreation(), GenNodeLocationQuery::determineAnchor(), Symbol::empty(), CommandRegistry::findDefinition(), GenNodeLocationQuery::getChildren(), UICoordResolver::isAnchored(), and UICoordResolver_test::verify_backingQuery().
|
static |
Definition at line 125 of file symbol.hpp.
Referenced by Symbol_test::checkSymbolCreation(), and Command::getID().
Inheritance diagram for Symbol:
Collaboration diagram for Symbol: