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

A parsed semantic version: major.minor.patch with optional prerelease label (e.g. More...

#include <snapshot.h>

Data Fields

uint32_t major
 Major version component.
 
uint32_t minor
 Minor version component.
 
uint32_t patch
 Patch version component.
 
char * prerelease
 Prerelease label (malloc'd; NULL if absent)
 

Detailed Description

A parsed semantic version: major.minor.patch with optional prerelease label (e.g.

"1.2.3-beta.1").

The prerelease string is heap-allocated and owned by the SemVer struct; it is NULL when not present.

Definition at line 35 of file snapshot.h.

Field Documentation

◆ major

uint32_t SemVer::major

Major version component.

Definition at line 36 of file snapshot.h.

◆ minor

uint32_t SemVer::minor

Minor version component.

Definition at line 37 of file snapshot.h.

◆ patch

uint32_t SemVer::patch

Patch version component.

Definition at line 38 of file snapshot.h.

◆ prerelease

char* SemVer::prerelease

Prerelease label (malloc'd; NULL if absent)

Definition at line 39 of file snapshot.h.


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