pega-texto
A Parsing Expression Grammars (PEG) runtime engine in C
Data Fields
PT_DATA Union Reference

Default data type for Actions to return. More...

#include <pega-texto.h>

Data Fields

void * p
 
char c
 
unsigned char uc
 
short s
 
unsigned short us
 
int i
 
unsigned int ui
 
long l
 
unsigned long ul
 
long long ll
 
unsigned long long ull
 
ssize_t ssz
 
size_t sz
 
float f
 
double d
 

Detailed Description

Default data type for Actions to return.

Define PT_DATA before including "pega-texto.h" to provide your own data type

Note
This is not a Tagged Union, so you (developer) are responsible for knowing which type each datum is. This can and should be avoided when structuring the Grammar.

Definition at line 138 of file pega-texto.h.


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