SpectMorph
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
xpath_parser Struct Reference

Classes

struct  binary_op_t
 

Public Member Functions

xpath_ast_nodeerror (const char *message)
 
xpath_ast_nodeerror_oom ()
 
void * alloc_node ()
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, const char_t *value)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, double value)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, xpath_variable *value)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_value_type rettype, xpath_ast_node *left=0, xpath_ast_node *right=0)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_ast_node *left, axis_t axis, nodetest_t test, const char_t *contents)
 
xpath_ast_nodealloc_node (ast_type_t type, xpath_ast_node *left, xpath_ast_node *right, predicate_t test)
 
const char_t * alloc_string (const xpath_lexer_string &value)
 
xpath_ast_nodeparse_function (const xpath_lexer_string &name, size_t argc, xpath_ast_node *args[2])
 
axis_t parse_axis_name (const xpath_lexer_string &name, bool &specified)
 
nodetest_t parse_node_test_type (const xpath_lexer_string &name)
 
xpath_ast_nodeparse_primary_expression ()
 
xpath_ast_nodeparse_filter_expression ()
 
xpath_ast_nodeparse_step (xpath_ast_node *set)
 
xpath_ast_nodeparse_relative_location_path (xpath_ast_node *set)
 
xpath_ast_nodeparse_location_path ()
 
xpath_ast_nodeparse_path_or_unary_expression ()
 
xpath_ast_nodeparse_expression_rec (xpath_ast_node *lhs, int limit)
 
xpath_ast_nodeparse_expression (int limit=0)
 
 xpath_parser (const char_t *query, xpath_variable_set *variables, xpath_allocator *alloc, xpath_parse_result *result)
 
xpath_ast_nodeparse ()
 

Static Public Member Functions

static xpath_ast_nodeparse (const char_t *query, xpath_variable_set *variables, xpath_allocator *alloc, xpath_parse_result *result)
 

Public Attributes

xpath_allocator_alloc
 
xpath_lexer _lexer
 
const char_t * _query
 
xpath_variable_set * _variables
 
xpath_parse_result * _result
 
char_t _scratch [32]
 

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