BoolStuff 0.1
|
#include <BoolExprParser.h>
Public Types | |
enum | Code { GARBAGE_AT_END, RUNAWAY_PARENTHESIS, IDENTIFIER_EXPECTED, STRING_EXPECTED = IDENTIFIER_EXPECTED } |
Possible error codes returned by the parser. More... | |
Public Member Functions | |
Error (size_t i, Code c) | |
Initializes an error object with the given index and error. | |
Public Attributes | |
size_t | index |
Index (>=0) in the input string where the error was detected. | |
Code | code |
Code that gives the type of the error. |
Error descriptor.
Possible error codes returned by the parser.
Index (>=0) in the input string where the error was detected.