Euphoria
|
eu::core::tracery::Result Struct Reference
#include <tracery.h>
Public Types | |
enum | Error { unable_to_open_file , no_error , json_parse , missing_rule , rule_eof , invalid_json , invalid_modifier , general_rule_parse_error } |
Public Member Functions | |
Result (Error t) | |
std::string | get_text () const |
Result & | operator<< (const std::string &t) |
operator bool () const | |
Public Attributes | |
Error | error_type |
std::vector< std::string > | text |
Detailed Description
Member Enumeration Documentation
◆ Error
Constructor & Destructor Documentation
◆ Result()
eu::core::tracery::Result::Result | ( | Error | t | ) |
Definition at line 162 of file tracery.cc.
Member Function Documentation
◆ get_text()
std::string eu::core::tracery::Result::get_text | ( | ) | const |
Definition at line 180 of file tracery.cc.
◆ operator bool()
eu::core::tracery::Result::operator bool | ( | ) | const |
Definition at line 173 of file tracery.cc.
◆ operator<<()
Result & eu::core::tracery::Result::operator<< | ( | const std::string & | t | ) |
Definition at line 165 of file tracery.cc.
Member Data Documentation
◆ error_type
◆ text
The documentation for this struct was generated from the following files:
- libs/core/src/core/tracery.h
- libs/core/src/core/tracery.cc