minilua::ParseResult struct

Result of calling Interpreter::parse.

Contains a list of errors and can be converted to a bool. True means sucessful parse, false means there are errors.

Constructors, destructors, conversion operators

operator bool() const
Convert to false if there was an error, true otherwise.

Public variables

std::vector<std::string> errors
The errors.
long elapsed_time
Elapsed time for parsing in nanoseconds.