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

Context passed to an oracle callback when the system needs a disambiguation decision. More...

#include <extension_registry.h>

Data Fields

int candidate_count
 Number of candidate resolutions.
 
const char ** candidate_labels
 Labels for each candidate.
 
const char * conflict_description
 Human-readable conflict info.
 
const char * extension_name
 Extension requesting resolution.
 
void * user_data
 Extension's user_data pointer.
 

Detailed Description

Context passed to an oracle callback when the system needs a disambiguation decision.

Definition at line 105 of file extension_registry.h.

Field Documentation

◆ candidate_count

int OracleContext::candidate_count

Number of candidate resolutions.

Definition at line 108 of file extension_registry.h.

◆ candidate_labels

const char** OracleContext::candidate_labels

Labels for each candidate.

Definition at line 109 of file extension_registry.h.

◆ conflict_description

const char* OracleContext::conflict_description

Human-readable conflict info.

Definition at line 107 of file extension_registry.h.

◆ extension_name

const char* OracleContext::extension_name

Extension requesting resolution.

Definition at line 106 of file extension_registry.h.

◆ user_data

void* OracleContext::user_data

Extension's user_data pointer.

Definition at line 110 of file extension_registry.h.


The documentation for this struct was generated from the following file: