Cthulhu  0.2.10
Cthulhu compiler collection
query_ast.c File Reference
#include "query_ast.h"
#include "arena/arena.h"
#include "base/panic.h"
#include "scan/scan.h"
Include dependency graph for query_ast.c:

Go to the source code of this file.

Functions

query_ast_tquery_ast_object (scan_t *scan, text_t name)
 
query_ast_tquery_ast_field (scan_t *scan, query_ast_t *object, text_t field)
 
query_ast_tquery_ast_index (scan_t *scan, query_ast_t *object, mpz_t index)
 
query_ast_tquery_ast_map (scan_t *scan, query_ast_t *object, text_t field)
 

Function Documentation

◆ query_ast_field()

query_ast_t* query_ast_field ( scan_t scan,
query_ast_t object,
text_t  field 
)

Definition at line 29 of file query_ast.c.

◆ query_ast_index()

query_ast_t* query_ast_index ( scan_t scan,
query_ast_t object,
mpz_t  index 
)

Definition at line 41 of file query_ast.c.

◆ query_ast_map()

query_ast_t* query_ast_map ( scan_t scan,
query_ast_t object,
text_t  field 
)

Definition at line 49 of file query_ast.c.

◆ query_ast_object()

query_ast_t* query_ast_object ( scan_t scan,
text_t  name 
)

Definition at line 19 of file query_ast.c.