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

Parsing Expressions. More...

#include <pega-texto.h>

Data Fields

uint8_t op
 Operation to be performed.
 
uint16_t N
 Range byte pair, Literal length, Character Class index.
 
union {
   const void *   data
 
   const pt_element_string   str
 
   const pt_custom_matcher_function   matcher
 
   const pt_expression_action   action
 
   const pt_error_action   error_action
 
   uintptr_t   element
 
   uintptr_t   index
 
   uintptr_t   range
 
   uintptr_t   quantifier
 
}; 
 Literal and Character Set strings, Custom Matcher functions.
 

Detailed Description

Parsing Expressions.

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


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