|
YAZ 5.35.1
|
CQL parse tree (node) More...
#include <cql.h>
Data Fields | ||
| int | which | |
| union { | ||
| struct { | ||
| char * index | ||
| char * index_uri | ||
| char * term | ||
| char * relation | ||
| char * relation_uri | ||
| struct cql_node * modifiers | ||
| struct cql_node * extra_terms | ||
| } st | ||
| struct { | ||
| char * value | ||
| struct cql_node * left | ||
| struct cql_node * right | ||
| struct cql_node * modifiers | ||
| } boolean | ||
| struct { | ||
| char * index | ||
| struct cql_node * next | ||
| struct cql_node * modifiers | ||
| struct cql_node * search | ||
| } sort | ||
| } | u | |
| struct { ... } cql_node::boolean |
which == CQL_NODE_BOOL
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_boolean(), cql_to_xml_r(), emit_node(), node_bool(), and yyparse().
| struct cql_node* cql_node::extra_terms |
term list
Definition at line 138 of file cql.h.
Referenced by cql_node_mk_sc(), cql_to_xml_r(), emit_terms(), and node_st().
| char* cql_node::index |
CQL index
Definition at line 126 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_dup(), cql_node_mk_sc(), cql_node_mk_sort(), cql_pr_prox(), cql_sort_modifiers(), cql_sort_to_xml(), cql_sortby_to_sortkeys(), cql_to_xml_mod(), cql_to_xml_r(), emit_node(), emit_term(), has_modifier(), node_bool(), and node_st().
| char* cql_node::index_uri |
CQL index URI or NULL if no URI
Definition at line 128 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_dup(), cql_node_mk_sc(), emit_node(), emit_term(), and prefixes().
| struct cql_node* cql_node::left |
left operand
Definition at line 145 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_boolean(), cql_to_xml_r(), emit_node(), node_bool(), and yyparse().
| struct cql_node* cql_node::modifiers |
relation modifiers
modifiers (NULL for no list)
Definition at line 136 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_boolean(), cql_node_mk_sc(), cql_node_mk_sort(), cql_pr_prox(), cql_sort_modifiers(), cql_sort_to_xml(), cql_sortby_to_sortkeys(), cql_to_xml_mod(), cql_to_xml_r(), emit_node(), emit_term(), has_modifier(), node_bool(), and yyparse().
| struct cql_node* cql_node::next |
next spec
Definition at line 155 of file cql.h.
Referenced by cql_node_destroy(), cql_node_dup(), cql_node_mk_sort(), cql_sort_to_xml(), and cql_sortby_to_sortkeys().
| char* cql_node::relation |
relation
Definition at line 132 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_dup(), cql_node_mk_sc(), cql_pr_prox(), cql_to_xml_mod(), cql_to_xml_r(), emit_node(), node_bool(), node_st(), and prefixes().
| char* cql_node::relation_uri |
relation URL or NULL if no relation URI)
Definition at line 134 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_dup(), cql_node_mk_sc(), cql_to_xml_r(), and prefixes().
| struct cql_node* cql_node::right |
right operand
Definition at line 147 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_boolean(), cql_to_xml_r(), emit_node(), node_bool(), and yyparse().
| struct cql_node* cql_node::search |
search node
Definition at line 159 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_sort(), cql_to_ccl_r(), cql_to_xml_r(), and emit_node().
| struct { ... } cql_node::sort |
which == CQL_NODE_SORT
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_sort(), cql_sort_to_xml(), cql_sortby_to_sortkeys(), cql_to_ccl_r(), cql_to_xml_r(), and emit_node().
| struct { ... } cql_node::st |
which == CQL_NODE_ST
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_sc(), cql_pr_prox(), cql_sort_modifiers(), cql_to_xml_mod(), cql_to_xml_r(), emit_node(), emit_term(), emit_terms(), emit_wordlist(), has_modifier(), node_bool(), node_st(), prefixes(), and yyparse().
| char* cql_node::term |
Search term
Definition at line 130 of file cql.h.
Referenced by cql_node_dup(), cql_node_mk_sc(), cql_pr_prox(), cql_to_xml_mod(), cql_to_xml_r(), emit_node(), emit_term(), emit_terms(), emit_wordlist(), has_modifier(), node_bool(), and node_st().
| union { ... } cql_node::u |
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_boolean(), cql_node_mk_sc(), cql_node_mk_sort(), cql_pr_prox(), cql_sort_modifiers(), cql_sort_to_xml(), cql_sortby_to_sortkeys(), cql_to_ccl_r(), cql_to_xml_mod(), cql_to_xml_r(), emit_node(), emit_term(), emit_terms(), emit_wordlist(), has_modifier(), node_bool(), node_st(), prefixes(), and yyparse().
| char* cql_node::value |
operator name "and", "or", ...
Definition at line 143 of file cql.h.
Referenced by cql_node_dup(), cql_node_mk_boolean(), cql_to_xml_r(), emit_node(), and node_bool().
| int cql_node::which |
node type
Definition at line 121 of file cql.h.
Referenced by cql_apply_prefix(), cql_node_destroy(), cql_node_dup(), cql_node_mk_boolean(), cql_node_mk_sc(), cql_node_mk_sort(), cql_sortby_to_sortkeys(), cql_to_ccl_r(), cql_to_xml_r(), emit_node(), emit_term(), and node_bool().