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

A dependency declaration from one module to another. More...

#include <snapshot.h>

Data Fields

VersionConstraintconstraints
 Array of version constraints.
 
uint8_t merkle_root [32]
 Expected content hash (zero = any)
 
char * module_name
 Target module name (owned)
 
uint32_t nconstraints
 Number of entries in constraints.
 
bool optional
 If true, unsatisfied is not an error.
 

Detailed Description

A dependency declaration from one module to another.

Each dependency names a target module and carries one or more version constraints. Dependencies may be optional: optional dependencies that cannot be satisfied are silently ignored rather than treated as errors.

Definition at line 75 of file snapshot.h.

Field Documentation

◆ constraints

VersionConstraint* ParserDependency::constraints

Array of version constraints.

Definition at line 78 of file snapshot.h.

◆ merkle_root

uint8_t ParserDependency::merkle_root[32]

Expected content hash (zero = any)

Definition at line 77 of file snapshot.h.

◆ module_name

char* ParserDependency::module_name

Target module name (owned)

Definition at line 76 of file snapshot.h.

◆ nconstraints

uint32_t ParserDependency::nconstraints

Number of entries in constraints.

Definition at line 79 of file snapshot.h.

◆ optional

bool ParserDependency::optional

If true, unsatisfied is not an error.

Definition at line 80 of file snapshot.h.


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