File: expression.h

package info (click to toggle)
kascade 1.0-beta10-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 964 kB
  • ctags: 815
  • sloc: cpp: 7,780; makefile: 39
file content (15 lines) | stat: -rw-r--r-- 494 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Category;
class ExprNode;

ExprNode *createExprTree( string );
int exprTrueForCategory( ExprNode *, Category * );

string evaluateExprRec( Category *, ExprNode * );
int exprToTokens( string, vector<string> &tokenv );
int buildExpression( vector<string> &tokenv, ExprNode *, int &tokennr );
int buildClause( vector<string> &tokenv, ExprNode *, int &tokennr );
int buildTerm( vector<string> &tokenv, ExprNode *, int &tokennr );
void printNodeRec( ExprNode *, int depth );