Namespaces | Defines | Functions | Variables
predicate.h File Reference

Replaces some default lex functions. More...

#include "qExpr.h"
#include <stdio.h>
#include <stack>
#include <deque>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  ibis
 

The current implementation of FastBit is code named IBIS; most data structures and functions are in the name space ibis.


Defines

#define YYLMAX   BUFSIZ

Functions

int lex_input ()
qExpr * ibis::parseQuery (const char *str)
 Parse a query string.
void unput (int)
void yyerror (const char *s)
int yylex ()
int yyparse ()
void yyparse_cleanup ()
int yywrap ()

Variables

int parse_length
int parse_offset
std::vector< char * > parse_str_vec
char * parse_string
char yytext [YYLMAX]

Detailed Description

Replaces some default lex functions.

The replacement functions all it to work on a string named parse_string (size parse_length). ALL lex/yacc related variables are in global namespace, only parseQuery is in the usual ibis namespace.

Note:
The only function that should be used elsewhere is parseQuery
    ibis::qExpr* ibis::parseQuery(const char* str)
   

Make It A Bit Faster
Contact us
Disclaimers
FastBit source code
FastBit mailing list archive