Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::parse::InqArabicParser Class Reference

#include <InqArabicParser.hpp>

Inheritance diagram for lemur::parse::InqArabicParser:

lemur::api::Parser lemur::api::TextHandler List of all members.

Public Member Functions

 InqArabicParser ()
void parseFile (const string &filename)
 Parse a file.

void parseBuffer (char *buf, int len)
 Parse a buffer of len length.

long fileTell () const
void doParse ()
 The workhorse.

void finishing_nesting_qnote (int top)
 parse nested query nodes until the next enclosing RIGHT_PAREN

void finishing_prox_qnote (int top)
 parse nested proximity query nodes until the next enclosing RIGHT_PAREN

void parseNestingOp (const char *op)
 begin parsing nested query nodes

void parseProxOp (const char *op, const char *size)
 parse proximity operator node

void parsePassageOp (const char *op, const char *size)
 parse passage operator node

void parseSynOp (const char *op)
 parse synonym operator node

void parsePropOp (const char *op)
 parse property operator node

void parseTermOp (const char *op)
 parse term node

void parseQryNode (int tok)
 parse query node

void parseProxNode (int tok)
 parse proximity query node


Static Public Attributes

const string identifier = "inqarabic"

Private Attributes

int state
 The state of the parser.


Constructor & Destructor Documentation

lemur::parse::InqArabicParser::InqArabicParser  ) 
 


Member Function Documentation

void lemur::parse::InqArabicParser::doParse  ) 
 

The workhorse.

long lemur::parse::InqArabicParser::fileTell  )  const [virtual]
 

Gives current byte position offset into file being parsed. Don't use with parseBuffer

Implements lemur::api::Parser.

void lemur::parse::InqArabicParser::finishing_nesting_qnote int  top  ) 
 

parse nested query nodes until the next enclosing RIGHT_PAREN

void lemur::parse::InqArabicParser::finishing_prox_qnote int  top  ) 
 

parse nested proximity query nodes until the next enclosing RIGHT_PAREN

void lemur::parse::InqArabicParser::parseBuffer char *  buf,
int  len
[virtual]
 

Parse a buffer of len length.

Implements lemur::api::Parser.

void lemur::parse::InqArabicParser::parseFile const string &  filename  )  [virtual]
 

Parse a file.

Implements lemur::api::Parser.

void lemur::parse::InqArabicParser::parseNestingOp const char *  op  ) 
 

begin parsing nested query nodes

void lemur::parse::InqArabicParser::parsePassageOp const char *  op,
const char *  size
 

parse passage operator node

void lemur::parse::InqArabicParser::parsePropOp const char *  op  ) 
 

parse property operator node

void lemur::parse::InqArabicParser::parseProxNode int  tok  ) 
 

parse proximity query node

void lemur::parse::InqArabicParser::parseProxOp const char *  op,
const char *  size
 

parse proximity operator node

void lemur::parse::InqArabicParser::parseQryNode int  tok  ) 
 

parse query node

void lemur::parse::InqArabicParser::parseSynOp const char *  op  ) 
 

parse synonym operator node

void lemur::parse::InqArabicParser::parseTermOp const char *  op  ) 
 

parse term node


Member Data Documentation

const string lemur::parse::InqArabicParser::identifier = "inqarabic" [static]
 

Reimplemented from lemur::api::Parser.

int lemur::parse::InqArabicParser::state [private]
 

The state of the parser.


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4