#include <InqArabicParser.hpp>
Inheritance diagram for lemur::parse::InqArabicParser:
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. |
|
|
|
The workhorse.
|
|
Gives current byte position offset into file being parsed. Don't use with parseBuffer Implements lemur::api::Parser. |
|
parse nested query nodes until the next enclosing RIGHT_PAREN
|
|
parse nested proximity query nodes until the next enclosing RIGHT_PAREN
|
|
Parse a buffer of len length.
Implements lemur::api::Parser. |
|
Parse a file.
Implements lemur::api::Parser. |
|
begin parsing nested query nodes
|
|
parse passage operator node
|
|
parse property operator node
|
|
parse proximity query node
|
|
parse proximity operator node
|
|
parse query node
|
|
parse synonym operator node
|
|
parse term node
|
|
Reimplemented from lemur::api::Parser. |
|
The state of the parser.
|