Struct zmbt::lang::SignatureError¶
ClassList > zmbt > lang > SignatureError
Inherits the following classes: zmbt::lang::SignatureBase
Public Types inherited from zmbt::lang::Expression¶
Type | Name |
---|---|
typedef lang::Keyword | Keyword |
typedef boost::json::value | V |
Public Functions¶
Type | Name |
---|---|
Expression | operator() (boost::json::string_view msg, boost::json::string_view ctx="") const Error message and context. |
Expression | operator() (type_tag< T >, boost::json::string_view msg="", boost::json::string_view ctx="") const Error type, message, and context. |
Public Functions inherited from zmbt::lang::SignatureBase¶
Type | Name |
---|---|
SignatureBase () |
Public Functions inherited from zmbt::lang::Expression¶
Type | Name |
---|---|
Expression (std::initializer_list< boost::json::value_ref > items) |
|
Expression (boost::json::value const & expr) |
|
Expression (Keyword const & keyword, boost::json::value const & params) |
|
Expression (Keyword const & keyword) |
|
Expression () |
|
Expression (T const & sample) |
|
Expression (Expression const & o) |
|
Expression (Expression && o) |
|
boost::json::value | eval (boost::json::value const & x=nullptr, EvalContext const & ctx={}) const Evaluate expression. |
bool | has_params () const |
bool | is (Keyword const kwrd) const |
bool | is_boolean () const |
bool | is_const () const |
bool | is_hiord () const |
bool | is_literal () const |
bool | is_noop () const |
Keyword | keyword () const |
bool | match (boost::json::value const & observed, Operator const & op={}) const |
bool | operator!= (Expression const & o) const |
Expression & | operator= (Expression const & o) |
Expression & | operator= (Expression && o) |
bool | operator== (Expression const & o) const |
boost::json::value const & | params () const |
boost::json::value const & | serialize () const |
boost::json::value const & | subexpr () const |
boost::json::value const & | underlying () const |
~Expression () = default |
Public Static Functions inherited from zmbt::lang::Expression¶
Type | Name |
---|---|
Expression | asPredicate (boost::json::value const & underlying) |
Public Functions Documentation¶
function operator() [1/2]¶
Error message and context.
inline Expression zmbt::lang::SignatureError::operator() (
boost::json::string_view msg,
boost::json::string_view ctx=""
) const
function operator() [2/2]¶
Error type, message, and context.
template<class T>
inline Expression zmbt::lang::SignatureError::operator() (
type_tag < T >,
boost::json::string_view msg="",
boost::json::string_view ctx=""
) const
The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/expr/api_signatures.hpp