« Prev 5 Propane generated API | Table of Contents | Next » 5.2 Types |
Propane generates the following result code constants:
P_SUCCESS
: A successful decode/lex/parse operation has taken place.P_DECODE_ERROR
: An error occurred when decoding UTF-8 input.P_UNEXPECTED_INPUT
: Input was received by the lexer that does not match any lexer pattern.P_UNEXPECTED_TOKEN
: A token was seen in a location that does not match any parser rule.P_DROP
: The lexer matched a drop pattern.P_EOF
: The lexer reached the end of the input string.P_USER_TERMINATED
: A parser user code block has requested to terminate the parser.Result codes are returned by the functions p_decode_code_point()
, p_lex()
, and p_parse()
.
« Prev 5 Propane generated API | Table of Contents | Next » 5.2 Types |