src/clipsrules/core/factgen.c File Reference

#include "setup.h"
#include <stdio.h>
#include "constant.h"
#include "memalloc.h"
#include "router.h"
#include "scanner.h"
#include "exprnpsr.h"
#include "constrct.h"
#include "network.h"
#include "reteutil.h"
#include "factmch.h"
#include "factrete.h"
#include "factmngr.h"
#include "pattern.h"
#include "factprt.h"
#include "envrnmnt.h"
#include "tmpltdef.h"
#include "tmpltlhs.h"
#include "factgen.h"

Include dependency graph for factgen.c:

Go to the source code of this file.

Classes

struct  factgenData

Defines

#define _FACTGEN_SOURCE_
#define _STDIO_INCLUDED_
#define FACTGEN_DATA   2
#define FactgenData(theEnv)   ((struct factgenData *) GetEnvironmentData(theEnv,FACTGEN_DATA))

Functions

globle void InitializeFactReteFunctions (void *theEnv)
globle struct exprFactGenPNConstant (void *theEnv, struct lhsParseNode *theField)
globle struct exprFactGenGetfield (void *theEnv, struct lhsParseNode *theNode)
globle struct exprFactGenGetvar (void *theEnv, struct lhsParseNode *theNode, int side)
globle struct exprFactGenCheckLength (void *theEnv, struct lhsParseNode *theNode)
globle struct exprFactGenCheckZeroLength (void *theEnv, unsigned theSlot)
globle void FactReplaceGetvar (void *theEnv, struct expr *theItem, struct lhsParseNode *theNode, int side)
globle void FactReplaceGetfield (void *theEnv, struct expr *theItem, struct lhsParseNode *theNode)
globle struct exprFactPNVariableComparison (void *theEnv, struct lhsParseNode *selfNode, struct lhsParseNode *referringNode)
globle struct exprFactJNVariableComparison (void *theEnv, struct lhsParseNode *selfNode, struct lhsParseNode *referringNode, int nandJoin)


Define Documentation

#define _FACTGEN_SOURCE_

Definition at line 26 of file factgen.c.

#define _STDIO_INCLUDED_

Definition at line 33 of file factgen.c.

#define FACTGEN_DATA   2

Definition at line 55 of file factgen.c.

#define FactgenData ( theEnv   )     ((struct factgenData *) GetEnvironmentData(theEnv,FACTGEN_DATA))

Definition at line 74 of file factgen.c.


Function Documentation

globle struct expr* FactGenCheckLength ( void *  theEnv,
struct lhsParseNode theNode 
) [read]

Definition at line 403 of file factgen.c.

globle struct expr* FactGenCheckZeroLength ( void *  theEnv,
unsigned  theSlot 
) [read]

Definition at line 460 of file factgen.c.

globle struct expr* FactGenGetfield ( void *  theEnv,
struct lhsParseNode theNode 
) [read]

Definition at line 317 of file factgen.c.

globle struct expr* FactGenGetvar ( void *  theEnv,
struct lhsParseNode theNode,
int  side 
) [read]

Definition at line 358 of file factgen.c.

globle struct expr* FactGenPNConstant ( void *  theEnv,
struct lhsParseNode theField 
) [read]

Definition at line 218 of file factgen.c.

globle struct expr* FactJNVariableComparison ( void *  theEnv,
struct lhsParseNode selfNode,
struct lhsParseNode referringNode,
int  nandJoin 
) [read]

Definition at line 1109 of file factgen.c.

globle struct expr* FactPNVariableComparison ( void *  theEnv,
struct lhsParseNode selfNode,
struct lhsParseNode referringNode 
) [read]

Definition at line 1047 of file factgen.c.

globle void FactReplaceGetfield ( void *  theEnv,
struct expr theItem,
struct lhsParseNode theNode 
)

Definition at line 536 of file factgen.c.

globle void FactReplaceGetvar ( void *  theEnv,
struct expr theItem,
struct lhsParseNode theNode,
int  side 
)

Definition at line 480 of file factgen.c.

globle void InitializeFactReteFunctions ( void *  theEnv  ) 

Definition at line 93 of file factgen.c.


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