Struct zmbt::lang::Encoding¶
ClassList > zmbt > lang > Encoding
Public Types¶
| Type | Name |
|---|---|
| typedef Keyword | K |
| typedef boost::json::value | V |
Public Attributes¶
| Type | Name |
|---|---|
| std::vector< V > | data |
| std::vector< std::size_t > | depth |
| std::vector< K > | keywords |
Public Functions¶
| Type | Name |
|---|---|
| Encoding () = default |
|
| Encoding (boost::json::value const & value) |
|
| Encoding (boost::json::value && value) |
|
| void | append_to_root (Encoding const & tail) |
| void | append_to_root (Encoding && tail) |
| bool | operator!= (Encoding const & o) const |
| bool | operator== (Encoding const & o) const |
| bool | preprocess () Single-pass preprocessing, return true if no multipass tokens left. |
| void | push_back (K const & k, std::size_t const d, V const & v) |
| void | push_back (K const & k, std::size_t const d, V && v) |
| std::size_t | size () const |
Public Static Functions¶
| Type | Name |
|---|---|
| bool | is_link_token (boost::json::value const & value) |
| bool | is_preproc_token (boost::json::value const & value) |
Public Types Documentation¶
typedef K¶
typedef V¶
Public Attributes Documentation¶
variable data¶
variable depth¶
variable keywords¶
Public Functions Documentation¶
function Encoding [1/3]¶
function Encoding [2/3]¶
function Encoding [3/3]¶
function append_to_root [1/2]¶
function append_to_root [2/2]¶
function operator!=¶
function operator==¶
function preprocess¶
Single-pass preprocessing, return true if no multipass tokens left.
function push_back [1/2]¶
function push_back [2/2]¶
function size¶
Public Static Functions Documentation¶
function is_link_token¶
function is_preproc_token¶
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/expr/encoding.hpp