Raw struct schema parser.
More...
#include <wpi/struct/SchemaParser.h>
|
| Parser (std::string_view in) |
| Construct a raw struct schema parser.
|
|
bool | Parse (ParsedSchema *out) |
| Parses the schema.
|
|
const std::string & | GetError () const |
| Gets the parser error if one occurred.
|
|
Raw struct schema parser.
◆ Parser()
wpi::structparser::Parser::Parser |
( |
std::string_view | in | ) |
|
|
inlineexplicit |
Construct a raw struct schema parser.
- Parameters
-
◆ GetError()
const std::string & wpi::structparser::Parser::GetError |
( |
| ) |
const |
|
inline |
Gets the parser error if one occurred.
- Returns
- parser error; blank if no error occurred
◆ Parse()
Parses the schema.
- Parameters
-
[out] | out | parsed schema object |
- Returns
- true on success, false on failure (use GetError() to get error)
The documentation for this class was generated from the following file: