Functions | Variables
constexp.h File Reference
#include "cppvalue.h"
#include <qcstring.h>

Go to the source code of this file.

Functions

bool parseconstexp (const char *fileName, int line, const QCString &s)
 
int constexpYYparse ()
 

Variables

int constexpYYdebug
 
QCString g_strToken
 
CPPValue g_resultValue
 
QCString g_constExpFileName
 
int g_constExpLineNr
 

Function Documentation

int constexpYYparse ( )
bool parseconstexp ( const char *  fileName,
int  line,
const QCString s 
)

Definition at line 1986 of file constexp.cpp.

1987 {
1989  //printf("Expression: `%s'\n",s.data());
1991  g_constExpLineNr = lineNr;
1992  g_inputString = s;
1993  g_inputPosition = 0;
1995  constexpYYparse();
1996  //printf("Result: %ld\n",(long)g_resultValue);
1998  return (long)g_resultValue!=0;
1999 }
void printlex(int dbg, bool enter, const char *lexName, const char *fileName)
Definition: message.cpp:242
const bool FALSE
Definition: qglobal.h:370
FILE * constexpYYin
Definition: constexp.cpp:356
int g_constExpLineNr
Definition: constexp.cpp:563
static int g_inputPosition
Definition: constexp.cpp:567
int constexpYYparse()
fileName
Definition: dumpTree.py:9
int constexpYY_flex_debug
Definition: constexp.cpp:523
CPPValue g_resultValue
Definition: constexp.cpp:562
static QCString * s
Definition: config.cpp:1042
const bool TRUE
Definition: qglobal.h:371
static const char * g_inputString
Definition: constexp.cpp:566
void constexpYYrestart(FILE *input_file)
Definition: constexp.cpp:1433
QCString g_constExpFileName
Definition: constexp.cpp:564

Variable Documentation

int constexpYYdebug
QCString g_constExpFileName

Definition at line 564 of file constexp.cpp.

int g_constExpLineNr

Definition at line 563 of file constexp.cpp.

CPPValue g_resultValue

Definition at line 562 of file constexp.cpp.

QCString g_strToken

Definition at line 561 of file constexp.cpp.