Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
sourcemeta::core::URITemplateRouter::Node Struct Reference

A node in the router trie. More...

Public Attributes

Identifier identifier {0}
 The handler identifier of the route ending at this node.
Identifier context {0}
 The context identifier associated with this node.
NodeType type {NodeType::Root}
 The kind of component this node represents.
std::string_view value
 The literal text or variable name of this node.
std::vector< std::unique_ptr< Node > > literals
 The literal children of this node.
std::unique_ptr< Nodevariable
 The single non-literal child of this node.

Detailed Description

A node in the router trie.


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