|
Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
|
The result of a disambiguation resolution. More...
#include <disambiguation.h>
Data Fields | |
| float | confidence |
| Confidence: 0.0 = no idea, 1.0 = certain. | |
| char * | explanation |
| Human-readable reason (malloc'd, may be NULL) | |
| int | nwinners |
| Number of winners (usually 1) | |
| LimeContext * | winning_contexts |
| Array of winners (malloc'd) | |
The result of a disambiguation resolution.
Contains the winning extension context(s) as LimeContext entries (from conflict.h), a confidence score, and an optional textual explanation.
Definition at line 96 of file disambiguation.h.
| float StrategyResult::confidence |
Confidence: 0.0 = no idea, 1.0 = certain.
Definition at line 99 of file disambiguation.h.
| char* StrategyResult::explanation |
Human-readable reason (malloc'd, may be NULL)
Definition at line 100 of file disambiguation.h.
| int StrategyResult::nwinners |
Number of winners (usually 1)
Definition at line 98 of file disambiguation.h.
| LimeContext* StrategyResult::winning_contexts |
Array of winners (malloc'd)
Definition at line 97 of file disambiguation.h.