src/clipsrules/core/exprnops.c File Reference

#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "memalloc.h"
#include "envrnmnt.h"
#include "router.h"
#include "extnfunc.h"
#include "cstrnchk.h"
#include "prntutil.h"
#include "cstrnutl.h"
#include "cstrnops.h"
#include "exprnops.h"

Include dependency graph for exprnops.c:

Go to the source code of this file.

Defines

#define _EXPRNOPS_SOURCE_
#define _STDIO_INCLUDED_

Functions

globle int CheckArgumentAgainstRestriction (void *theEnv, struct expr *theExpression, int theRestriction)
globle intBool ConstantExpression (struct expr *testPtr)
globle intBool ConstantType (int theType)
globle intBool IdenticalExpression (struct expr *firstList, struct expr *secondList)
globle int CountArguments (struct expr *testPtr)
globle struct exprCopyExpression (void *theEnv, struct expr *original)
globle intBool ExpressionContainsVariables (struct expr *theExpression, intBool globalsAreVariables)
globle long ExpressionSize (struct expr *testPtr)
globle struct exprGenConstant (void *theEnv, unsigned short type, void *value)
globle void PrintExpression (void *theEnv, char *fileid, struct expr *theExpression)
globle struct exprCombineExpressions (void *theEnv, struct expr *expr1, struct expr *expr2)
globle struct exprAppendExpressions (struct expr *expr1, struct expr *expr2)


Define Documentation

#define _EXPRNOPS_SOURCE_

Definition at line 25 of file exprnops.c.

#define _STDIO_INCLUDED_

Definition at line 30 of file exprnops.c.


Function Documentation

globle struct expr* AppendExpressions ( struct expr expr1,
struct expr expr2 
) [read]

Definition at line 509 of file exprnops.c.

globle int CheckArgumentAgainstRestriction ( void *  theEnv,
struct expr theExpression,
int  theRestriction 
)

Definition at line 77 of file exprnops.c.

globle struct expr* CombineExpressions ( void *  theEnv,
struct expr expr1,
struct expr expr2 
) [read]

Definition at line 404 of file exprnops.c.

globle intBool ConstantExpression ( struct expr testPtr  ) 

Definition at line 134 of file exprnops.c.

globle intBool ConstantType ( int  theType  ) 

Definition at line 155 of file exprnops.c.

globle struct expr* CopyExpression ( void *  theEnv,
struct expr original 
) [read]

Definition at line 247 of file exprnops.c.

globle int CountArguments ( struct expr testPtr  ) 

Definition at line 230 of file exprnops.c.

globle intBool ExpressionContainsVariables ( struct expr theExpression,
intBool  globalsAreVariables 
)

Definition at line 278 of file exprnops.c.

globle long ExpressionSize ( struct expr testPtr  ) 

Definition at line 308 of file exprnops.c.

globle struct expr* GenConstant ( void *  theEnv,
unsigned short  type,
void *  value 
) [read]

Definition at line 327 of file exprnops.c.

globle intBool IdenticalExpression ( struct expr firstList,
struct expr secondList 
)

Definition at line 178 of file exprnops.c.

globle void PrintExpression ( void *  theEnv,
char *  fileid,
struct expr theExpression 
)

Definition at line 346 of file exprnops.c.


Generated on Mon Jan 10 22:33:41 2011 by  doxygen 1.5.6