|
IDZEBRA 2.2.8
|
#include <stdio.h>#include <string.h>#include <assert.h>#include <ctype.h>#include <yaz/nmem.h>#include <zebra_xpath.h>Go to the source code of this file.
Functions | |
| static char * | get_xp_part (char **strs, NMEM mem, int *literal) |
| static struct xpath_predicate * | get_xpath_boolean (char **pr, NMEM mem, char **look, int *literal) |
| static struct xpath_predicate * | get_xpath_relation (char **pr, NMEM mem, char **look, int *literal) |
| static struct xpath_predicate * | get_xpath_predicate (char *predicate, NMEM mem) |
| int | zebra_parse_xpath_str (const char *xpath_string, struct xpath_location_step *xpath, int max, NMEM mem) |
| void | dump_xp_predicate (struct xpath_predicate *p) |
| void | dump_xp_steps (struct xpath_location_step *xpath, int no) |
| void dump_xp_predicate | ( | struct xpath_predicate * | p | ) |
Definition at line 216 of file xpath.c.
References xpath_predicate::boolean, dump_xp_predicate(), xpath_predicate::left, xpath_predicate::name, xpath_predicate::op, xpath_predicate::relation, xpath_predicate::right, xpath_predicate::u, xpath_predicate::value, xpath_predicate::which, and XPATH_PREDICATE_RELATION.
Referenced by dump_xp_predicate(), and dump_xp_steps().
| void dump_xp_steps | ( | struct xpath_location_step * | xpath, |
| int | no | ||
| ) |
Definition at line 235 of file xpath.c.
References dump_xp_predicate().
Referenced by zebra_parse_xpath_str().
|
static |
Definition at line 31 of file xpath.c.
Referenced by get_xpath_boolean(), get_xpath_predicate(), and get_xpath_relation().
|
static |
Definition at line 121 of file xpath.c.
References xpath_predicate::boolean, get_xp_part(), get_xpath_relation(), xpath_predicate::left, xpath_predicate::op, xpath_predicate::right, xpath_predicate::u, xpath_predicate::which, and XPATH_PREDICATE_BOOLEAN.
Referenced by get_xpath_predicate(), and get_xpath_relation().
|
static |
Definition at line 151 of file xpath.c.
References get_xp_part(), and get_xpath_boolean().
Referenced by zebra_parse_xpath_str().
|
static |
Definition at line 82 of file xpath.c.
References get_xp_part(), get_xpath_boolean(), xpath_predicate::name, xpath_predicate::op, xpath_predicate::relation, xpath_predicate::u, xpath_predicate::value, xpath_predicate::which, and XPATH_PREDICATE_RELATION.
Referenced by get_xpath_boolean().
| int zebra_parse_xpath_str | ( | const char * | xpath_string, |
| struct xpath_location_step * | xpath, | ||
| int | max, | ||
| NMEM | mem | ||
| ) |
Definition at line 162 of file xpath.c.
References dump_xp_steps(), get_xpath_predicate(), xpath_location_step::part, and xpath_location_step::predicate.
Referenced by data1_read_absyn(), and rpn_check_xpath().