Copyright (C) 1997-2015 by Dimitri van Heesch.
bool parseLevel1()
conditional operators AND and OR
TOKENTYPE m_tokenType
type of the token
void getToken()
Get next token in the current string expr.
QCString m_token
holds the token
bool evalOperator(const int opId, bool lhs, bool rhs)
evaluate an operator for given values
QCString m_err
error state
bool evalVariable(const QCString &varName)
evaluate a variable
QCString m_expr
holds the expression
const char * m_e
points to a character in expr
bool parseLevel3()
parenthesized expression or variable
bool parse(const QCString &fileName, int lineNr, const QCString &expr)
Copyright (C) 1997-2015 by Dimitri van Heesch.
int getOperatorId(const QCString &opName)
returns the id of the given operator returns -1 if the operator is not recognized
This is an alternative implementation of QCString.