Cthulhu  0.2.10
Cthulhu compiler collection
query_scan.c File Reference
#include "query_scan.h"
#include "core/macros.h"
#include "cthulhu/events/events.h"
#include "cthulhu/util/text.h"
Include dependency graph for query_scan.c:

Go to the source code of this file.

Functions

query_scan_tquery_scan_context (scan_t *scan)
 
void query_parse_integer (mpz_t integer, scan_t *scan, where_t where, const char *text, int base)
 
void query_parse_string (text_t *string, scan_t *scan, where_t where, const char *text, size_t length)
 
void queryerror (where_t *where, void *state, scan_t *scan, const char *msg)
 

Function Documentation

◆ query_parse_integer()

void query_parse_integer ( mpz_t  integer,
scan_t scan,
where_t  where,
const char *  text,
int  base 
)

Definition at line 13 of file query_scan.c.

◆ query_parse_string()

void query_parse_string ( text_t string,
scan_t scan,
where_t  where,
const char *  text,
size_t  length 
)

Definition at line 24 of file query_scan.c.

◆ query_scan_context()

query_scan_t* query_scan_context ( scan_t scan)

Definition at line 8 of file query_scan.c.

◆ queryerror()

void queryerror ( where_t where,
void *  state,
scan_t scan,
const char *  msg 
)

Definition at line 32 of file query_scan.c.