src/clipsrules/core/pattern.c File Reference

#include "setup.h"
#include <stdio.h>
#include <stdlib.h>
#include "constant.h"
#include "constrnt.h"
#include "cstrnchk.h"
#include "cstrnutl.h"
#include "envrnmnt.h"
#include "exprnpsr.h"
#include "match.h"
#include "memalloc.h"
#include "reteutil.h"
#include "router.h"
#include "rulecmp.h"
#include "pattern.h"

Include dependency graph for pattern.c:

Go to the source code of this file.

Defines

#define _PATTERN_SOURCE_
#define _STDIO_INCLUDED_

Functions

globle void InitializePatterns (void *theEnv)
globle void AddHashedPatternNode (void *theEnv, void *parent, void *child, unsigned short keyType, void *keyValue)
globle intBool RemoveHashedPatternNode (void *theEnv, void *parent, void *child, unsigned short keyType, void *keyValue)
globle void * FindHashedPatternNode (void *theEnv, void *parent, unsigned short keyType, void *keyValue)
void AddReservedPatternSymbol (void *theEnv, char *theSymbol, char *reservedBy)
intBool ReservedPatternSymbol (void *theEnv, char *theSymbol, char *checkedBy)
void ReservedPatternSymbolErrorMsg (void *theEnv, char *theSymbol, char *usedFor)
globle void GetNextPatternEntity (void *theEnv, struct patternParser **theParser, struct patternEntity **theEntity)
void DetachPattern (void *theEnv, int rhsType, struct patternNodeHeader *theHeader)
globle intBool AddPatternParser (void *theEnv, struct patternParser *newPtr)
globle struct patternParserFindPatternParser (void *theEnv, char *name)
struct patternParserGetPatternParser (void *theEnv, int rhsType)
globle void PatternNodeHeaderToCode (void *theEnv, FILE *fp, struct patternNodeHeader *theHeader, int imageID, int maxIndices)
globle intBool PostPatternAnalysis (void *theEnv, struct lhsParseNode *theLHS)
struct lhsParseNodeRestrictionParse (void *theEnv, char *readSource, struct token *theToken, int multifieldSlot, struct symbolHashNode *theSlot, short slotNumber, CONSTRAINT_RECORD *theConstraints, short position)


Define Documentation

#define _PATTERN_SOURCE_

Definition at line 29 of file pattern.c.

#define _STDIO_INCLUDED_

Definition at line 34 of file pattern.c.


Function Documentation

globle void AddHashedPatternNode ( void *  theEnv,
void *  parent,
void *  child,
unsigned short  keyType,
void *  keyValue 
)

Definition at line 145 of file pattern.c.

globle intBool AddPatternParser ( void *  theEnv,
struct patternParser newPtr 
)

Definition at line 409 of file pattern.c.

void AddReservedPatternSymbol ( void *  theEnv,
char *  theSymbol,
char *  reservedBy 
)

Definition at line 249 of file pattern.c.

void DetachPattern ( void *  theEnv,
int  rhsType,
struct patternNodeHeader theHeader 
)

Definition at line 390 of file pattern.c.

globle void* FindHashedPatternNode ( void *  theEnv,
void *  parent,
unsigned short  keyType,
void *  keyValue 
)

Definition at line 216 of file pattern.c.

globle struct patternParser* FindPatternParser ( void *  theEnv,
char *  name 
) [read]

Definition at line 468 of file pattern.c.

globle void GetNextPatternEntity ( void *  theEnv,
struct patternParser **  theParser,
struct patternEntity **  theEntity 
)

Definition at line 317 of file pattern.c.

struct patternParser* GetPatternParser ( void *  theEnv,
int  rhsType 
) [read]

Definition at line 486 of file pattern.c.

globle void InitializePatterns ( void *  theEnv  ) 

Definition at line 69 of file pattern.c.

globle void PatternNodeHeaderToCode ( void *  theEnv,
FILE *  fp,
struct patternNodeHeader theHeader,
int  imageID,
int  maxIndices 
)

Definition at line 501 of file pattern.c.

globle intBool PostPatternAnalysis ( void *  theEnv,
struct lhsParseNode theLHS 
)

Definition at line 540 of file pattern.c.

globle intBool RemoveHashedPatternNode ( void *  theEnv,
void *  parent,
void *  child,
unsigned short  keyType,
void *  keyValue 
)

Definition at line 174 of file pattern.c.

intBool ReservedPatternSymbol ( void *  theEnv,
char *  theSymbol,
char *  checkedBy 
)

Definition at line 269 of file pattern.c.

void ReservedPatternSymbolErrorMsg ( void *  theEnv,
char *  theSymbol,
char *  usedFor 
)

Definition at line 298 of file pattern.c.

struct lhsParseNode* RestrictionParse ( void *  theEnv,
char *  readSource,
struct token theToken,
int  multifieldSlot,
struct symbolHashNode theSlot,
short  slotNumber,
CONSTRAINT_RECORD theConstraints,
short  position 
) [read]

Definition at line 570 of file pattern.c.


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