Volksdata 1.0b10
RDF library
Loading...
Searching...
No Matches
parser_nt.c File Reference
Include dependency graph for parser_nt.c:

Go to the source code of this file.

Data Structures

struct  ParseIterator

Macros

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

Functions

VOLK_rc nt_parse_doc (FILE *fh, const char *sh, VOLK_Graph *gr)
 Parse an RDF document in N-Triples format.
VOLK_rc nt_parse_term (const char *rep, VOLK_Term **term)
 Parse a single term.
void NTParse ()
void * NTParseAlloc ()
void NTParseFree ()

Macro Definition Documentation

◆ VOLK_PARSER_COMMON_H

#define VOLK_PARSER_COMMON_H

Definition at line 14 of file parser_nt.c.

◆ 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 26 of file parser_nt.c.

◆ YYCURSOR

#define YYCURSOR   it->cur

Definition at line 27 of file parser_nt.c.

◆ YYFILL

#define YYFILL   fill(it) == 0

Definition at line 30 of file parser_nt.c.

◆ YYLIMIT

#define YYLIMIT   it->lim

Definition at line 29 of file parser_nt.c.

◆ YYMARKER

#define YYMARKER   it->mar

Definition at line 28 of file parser_nt.c.

Function Documentation

◆ NTParse()

void NTParse ( )

◆ NTParseAlloc()

void * NTParseAlloc ( )

◆ NTParseFree()

void NTParseFree ( )