src/clipsrules/core/evaluatn.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "setup.h"
#include "argacces.h"
#include "commline.h"
#include "constant.h"
#include "envrnmnt.h"
#include "memalloc.h"
#include "router.h"
#include "extnfunc.h"
#include "prcdrfun.h"
#include "multifld.h"
#include "factmngr.h"
#include "prntutil.h"
#include "exprnpsr.h"
#include "utility.h"
#include "proflfun.h"
#include "sysdep.h"
#include "dffnxfun.h"
#include "genrccom.h"
#include "object.h"
#include "evaluatn.h"

Include dependency graph for evaluatn.c:

Go to the source code of this file.

Defines

#define _EVALUATN_SOURCE_
#define _STDIO_INCLUDED_

Functions

globle void InitializeEvaluationData (void *theEnv)
globle int EvaluateExpression (void *theEnv, struct expr *problem, DATA_OBJECT_PTR returnValue)
globle void InstallPrimitive (void *theEnv, struct entityRecord *thePrimitive, int whichPosition)
globle int InstallExternalAddressType (void *theEnv, struct externalAddressType *theAddressType)
globle void SetEvaluationError (void *theEnv, int value)
globle int GetEvaluationError (void *theEnv)
globle void SetHaltExecution (void *theEnv, int value)
globle int GetHaltExecution (void *theEnv)
globle void ReturnValues (void *theEnv, DATA_OBJECT_PTR garbagePtr, intBool decrementSupplementalInfo)
globle void PrintDataObject (void *theEnv, char *fileid, DATA_OBJECT_PTR argPtr)
globle void EnvSetMultifieldErrorValue (void *theEnv, DATA_OBJECT_PTR returnValue)
globle void ValueInstall (void *theEnv, DATA_OBJECT *vPtr)
globle void ValueDeinstall (void *theEnv, DATA_OBJECT *vPtr)
globle void AtomInstall (void *theEnv, int type, void *vPtr)
globle void AtomDeinstall (void *theEnv, int type, void *vPtr)
globle void PropagateReturnValue (void *theEnv, DATA_OBJECT *vPtr)
globle int EnvFunctionCall (void *theEnv, char *name, char *args, DATA_OBJECT *result)
globle int FunctionCall2 (void *theEnv, FUNCTION_REFERENCE *theReference, char *args, DATA_OBJECT *result)
globle void CopyDataObject (void *theEnv, DATA_OBJECT *dst, DATA_OBJECT *src, int garbageMultifield)
globle void TransferDataObjectValues (DATA_OBJECT *dst, DATA_OBJECT *src)
globle struct exprConvertValueToExpression (void *theEnv, DATA_OBJECT *theValue)
unsigned long GetAtomicHashValue (unsigned short type, void *value, int position)
globle struct exprFunctionReferenceExpression (void *theEnv, char *name)
globle intBool GetFunctionReference (void *theEnv, char *name, FUNCTION_REFERENCE *theReference)
globle intBool DOsEqual (DATA_OBJECT_PTR dobj1, DATA_OBJECT_PTR dobj2)
globle int EvaluateAndStoreInDataObject (void *theEnv, int mfp, EXPRESSION *theExp, DATA_OBJECT *val, int garbageSegment)


Define Documentation

#define _EVALUATN_SOURCE_

Definition at line 30 of file evaluatn.c.

#define _STDIO_INCLUDED_

Definition at line 33 of file evaluatn.c.


Function Documentation

globle void AtomDeinstall ( void *  theEnv,
int  type,
void *  vPtr 
)

Definition at line 687 of file evaluatn.c.

globle void AtomInstall ( void *  theEnv,
int  type,
void *  vPtr 
)

Definition at line 637 of file evaluatn.c.

globle struct expr* ConvertValueToExpression ( void *  theEnv,
DATA_OBJECT theValue 
) [read]

Definition at line 949 of file evaluatn.c.

globle void CopyDataObject ( void *  theEnv,
DATA_OBJECT dst,
DATA_OBJECT src,
int  garbageMultifield 
)

Definition at line 907 of file evaluatn.c.

globle intBool DOsEqual ( DATA_OBJECT_PTR  dobj1,
DATA_OBJECT_PTR  dobj2 
)

Definition at line 1160 of file evaluatn.c.

globle int EnvFunctionCall ( void *  theEnv,
char *  name,
char *  args,
DATA_OBJECT result 
)

Definition at line 808 of file evaluatn.c.

globle void EnvSetMultifieldErrorValue ( void *  theEnv,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 599 of file evaluatn.c.

globle int EvaluateAndStoreInDataObject ( void *  theEnv,
int  mfp,
EXPRESSION theExp,
DATA_OBJECT val,
int  garbageSegment 
)

Definition at line 1193 of file evaluatn.c.

globle int EvaluateExpression ( void *  theEnv,
struct expr problem,
DATA_OBJECT_PTR  returnValue 
)

Definition at line 113 of file evaluatn.c.

globle int FunctionCall2 ( void *  theEnv,
FUNCTION_REFERENCE theReference,
char *  args,
DATA_OBJECT result 
)

Definition at line 841 of file evaluatn.c.

globle struct expr* FunctionReferenceExpression ( void *  theEnv,
char *  name 
) [read]

Definition at line 1041 of file evaluatn.c.

unsigned long GetAtomicHashValue ( unsigned short  type,
void *  value,
int  position 
)

Definition at line 978 of file evaluatn.c.

globle int GetEvaluationError ( void *  theEnv  ) 

Definition at line 494 of file evaluatn.c.

globle intBool GetFunctionReference ( void *  theEnv,
char *  name,
FUNCTION_REFERENCE theReference 
)

Definition at line 1093 of file evaluatn.c.

globle int GetHaltExecution ( void *  theEnv  ) 

Definition at line 513 of file evaluatn.c.

globle void InitializeEvaluationData ( void *  theEnv  ) 

Definition at line 86 of file evaluatn.c.

globle int InstallExternalAddressType ( void *  theEnv,
struct externalAddressType theAddressType 
)

Definition at line 458 of file evaluatn.c.

globle void InstallPrimitive ( void *  theEnv,
struct entityRecord thePrimitive,
int  whichPosition 
)

Definition at line 440 of file evaluatn.c.

globle void PrintDataObject ( void *  theEnv,
char *  fileid,
DATA_OBJECT_PTR  argPtr 
)

Definition at line 545 of file evaluatn.c.

globle void PropagateReturnValue ( void *  theEnv,
DATA_OBJECT vPtr 
)

Definition at line 741 of file evaluatn.c.

globle void ReturnValues ( void *  theEnv,
DATA_OBJECT_PTR  garbagePtr,
intBool  decrementSupplementalInfo 
)

Definition at line 523 of file evaluatn.c.

globle void SetEvaluationError ( void *  theEnv,
int  value 
)

Definition at line 482 of file evaluatn.c.

globle void SetHaltExecution ( void *  theEnv,
int  value 
)

Definition at line 503 of file evaluatn.c.

globle void TransferDataObjectValues ( DATA_OBJECT dst,
DATA_OBJECT src 
)

Definition at line 931 of file evaluatn.c.

globle void ValueDeinstall ( void *  theEnv,
DATA_OBJECT vPtr 
)

Definition at line 625 of file evaluatn.c.

globle void ValueInstall ( void *  theEnv,
DATA_OBJECT vPtr 
)

Definition at line 613 of file evaluatn.c.


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