YAZ 5.37.0
cql_node Struct Reference

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

Detailed Description

CQL parse tree (node).

Definition at line 119 of file cql.h.

Field Documentation

◆ [struct]

struct { ... } cql_node::boolean

◆ extra_terms

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().

◆ index

◆ index_uri

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().

◆ left

struct cql_node* cql_node::left

◆ modifiers

◆ next

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().

◆ relation

char* cql_node::relation

◆ relation_uri

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().

◆ right

struct cql_node* cql_node::right

◆ search

struct cql_node* cql_node::search

◆ [struct]

◆ [struct]

◆ term

◆ [union]

◆ value

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().

◆ which


The documentation for this struct was generated from the following file: