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

A specific ambiguity where multiple grammars can handle the same token in the same parser state. More...

#include <conflict.h>

Data Fields

int capacity
 Allocated slots in contexts[].
 
LimeContextcontexts
 Array of valid interpretations.
 
char * description
 Human-readable summary (owned)
 
ConflictLevel level
 Which level of ambiguity.
 
int ncontexts
 Number of entries in contexts[].
 
int state
 The parser state (-1 if token-level)
 
uint16_t token
 The token that triggers the conflict.
 

Detailed Description

A specific ambiguity where multiple grammars can handle the same token in the same parser state.

Definition at line 227 of file conflict.h.

Field Documentation

◆ capacity

int ConflictPoint::capacity

Allocated slots in contexts[].

Definition at line 234 of file conflict.h.

◆ contexts

LimeContext* ConflictPoint::contexts

Array of valid interpretations.

Definition at line 232 of file conflict.h.

◆ description

char* ConflictPoint::description

Human-readable summary (owned)

Definition at line 236 of file conflict.h.

◆ level

ConflictLevel ConflictPoint::level

Which level of ambiguity.

Definition at line 230 of file conflict.h.

◆ ncontexts

int ConflictPoint::ncontexts

Number of entries in contexts[].

Definition at line 233 of file conflict.h.

◆ state

int ConflictPoint::state

The parser state (-1 if token-level)

Definition at line 229 of file conflict.h.

◆ token

uint16_t ConflictPoint::token

The token that triggers the conflict.

Definition at line 228 of file conflict.h.


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