Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
parser_common.h File Reference
#include "volksdata/codec.h"
Include dependency graph for parser_common.h:

Go to the source code of this file.

Data Structures

struct  ParseIterator

Macros

#define YYCTYPE   uint8_t
 TTL is UTF-8 encoded.
#define YYCURSOR   it->cur
#define YYMARKER   it->mar
#define YYLIMIT   it->lim
#define YYFILL   fill(it) == 0

Macro Definition Documentation

◆ YYCTYPE

#define YYCTYPE   uint8_t

TTL is UTF-8 encoded.

See also
https://www.w3.org/TeamSubmission/turtle/#sec-grammar

char should be considered to be UTF-8 throughout this library, however, setting YYCTYPE to char generates case labels outside of the char range.

Definition at line 14 of file parser_common.h.

◆ YYCURSOR

#define YYCURSOR   it->cur

Definition at line 15 of file parser_common.h.

◆ YYMARKER

#define YYMARKER   it->mar

Definition at line 16 of file parser_common.h.

◆ YYLIMIT

#define YYLIMIT   it->lim

Definition at line 17 of file parser_common.h.

◆ YYFILL

#define YYFILL   fill(it) == 0

Definition at line 18 of file parser_common.h.