Lime Parser Generator 0.1.0
Runtime-extensible LALR(1) parser with SIMD tokenization and LLVM JIT
Loading...
Searching...
No Matches
Strategy Result

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.
 

Detailed Description

Outcome of a disambiguation resolution.

Function Documentation

◆ strategy_result_cleanup()

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.

Parameters
resultResult struct to clean up.

◆ strategy_result_init()

void strategy_result_init ( StrategyResult result)

#include <include/disambiguation.h>

Initialize a StrategyResult to a safe empty state.

Parameters
resultResult struct to initialize.