VGServer::AttributeParser Namespace Reference

namespace to enclose the spirit parser grammar and hidden selector or filter node classes More...


Typedefs

typedef char const * InputIterT
typedef tree_match< InputIterTParseTreeMatchT
typedef ParseTreeMatchT::const_tree_iterator TreeIterT

Enumerations

enum  parser_ids {
  integer_const_id = 1, double_const_id, string_const_id, constant_id,
  function_call_id, function_identifier_id, attrname_id, atom_expr_id,
  unary_expr_id, mul_expr_id, add_expr_id, cast_expr_id,
  cast_spec_id, comp_expr_id, and_expr_id, or_expr_id,
  expr_id, attrlist_star_id, attrlist_exprlist_id, attrlist_id,
  filter_expr_id
}

Functions

bool build_attrlist (TreeIterT const &i, const GraphProperties &gp, vertex_or_edge_t voe, class AttributeSelectorList &sellist)
 build_attrlist construct the vector holding the ParseNode parse tree for each requested attribute.
distinct_parser keyword_p ("a-zA-Z0-9_")
 keyword parser


Detailed Description

namespace to enclose the spirit parser grammar and hidden selector or filter node classes

Typedef Documentation

typedef char const* VGServer::AttributeParser::InputIterT

Definition at line 1077 of file AttributeParser.cc.

typedef tree_match<InputIterT> VGServer::AttributeParser::ParseTreeMatchT

Definition at line 1079 of file AttributeParser.cc.

typedef ParseTreeMatchT::const_tree_iterator VGServer::AttributeParser::TreeIterT

Definition at line 1081 of file AttributeParser.cc.


Enumeration Type Documentation

enum VGServer::AttributeParser::parser_ids

Enumerator:
integer_const_id 
double_const_id 
string_const_id 
constant_id 
function_call_id 
function_identifier_id 
attrname_id 
atom_expr_id 
unary_expr_id 
mul_expr_id 
add_expr_id 
cast_expr_id 
cast_spec_id 
comp_expr_id 
and_expr_id 
or_expr_id 
expr_id 
attrlist_star_id 
attrlist_exprlist_id 
attrlist_id 
filter_expr_id 

Definition at line 43 of file AttributeParser.cc.


Function Documentation

bool VGServer::AttributeParser::build_attrlist ( TreeIterT const &  i,
const GraphProperties &  gp,
vertex_or_edge_t  voe,
class AttributeSelectorList &  sellist 
)

build_attrlist construct the vector holding the ParseNode parse tree for each requested attribute.

Definition at line 1311 of file AttributeParser.cc.

References attrlist_exprlist_id, attrlist_star_id, VGServer::GraphProperties::edgeattr, VGServer::VE_VERTEX, and VGServer::GraphProperties::vertexattr.

Referenced by VGServer::AttributeSelectorList::parseString().

distinct_parser VGServer::AttributeParser::keyword_p ( "a-zA-Z0-9_"   ) 

keyword parser


Generated on Wed Sep 27 14:34:01 2006 for VGServer by  doxygen 1.4.7