|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
Outcome of a disambiguation resolution. More...
Data Structures | |
| struct | StrategyResult |
| The result of a disambiguation resolution. More... | |
Functions | |
| void | strategy_result_cleanup (StrategyResult *result) |
| Free memory owned by a StrategyResult. | |
| void | strategy_result_init (StrategyResult *result) |
| Initialize a StrategyResult to a safe empty state. | |
Outcome of a disambiguation resolution.
| void strategy_result_cleanup | ( | StrategyResult * | result | ) |
#include <include/disambiguation.h>
Free memory owned by a StrategyResult.
Frees winning_contexts and explanation. Does not free the StrategyResult struct itself.
| result | Result struct to clean up. |
| void strategy_result_init | ( | StrategyResult * | result | ) |
#include <include/disambiguation.h>
Initialize a StrategyResult to a safe empty state.
| result | Result struct to initialize. |