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

Types of conflicts that can occur between grammar extensions. More...

Data Structures

struct  Conflict
 Description of a single conflict between modifications. More...
 

Enumerations

enum  ConflictType {
  CONFLICT_TOKEN_COLLISION , CONFLICT_DUPLICATE_RULE , CONFLICT_PRECEDENCE_CLASH , CONFLICT_SHIFT_REDUCE ,
  CONFLICT_REDUCE_REDUCE
}
 Types of conflicts that can occur between grammar extensions. More...
 

Detailed Description

Types of conflicts that can occur between grammar extensions.

Enumeration Type Documentation

◆ ConflictType

#include <include/conflict.h>

Types of conflicts that can occur between grammar extensions.

Enumerator
CONFLICT_TOKEN_COLLISION 

Same token name from different extensions.

CONFLICT_DUPLICATE_RULE 

Identical production rule.

CONFLICT_PRECEDENCE_CLASH 

Conflicting precedence assignment.

CONFLICT_SHIFT_REDUCE 

Shift/reduce in rebuilt automaton.

CONFLICT_REDUCE_REDUCE 

Reduce/reduce in rebuilt automaton.

Definition at line 51 of file conflict.h.