src/clipsrules/core/conscomp.h File Reference

#include "constrct.h"
#include "symblcmp.h"
#include "extnfunc.h"

Include dependency graph for conscomp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CodeGeneratorItem
struct  constructCompilerData
struct  CodeGeneratorFile

Defines

#define ArbitraryPrefix(codeItem, i)   (codeItem)->arrayNames[(i)]
#define ModulePrefix(codeItem)   (codeItem)->arrayNames[0]
#define ConstructPrefix(codeItem)   (codeItem)->arrayNames[1]
#define CONSTRUCT_COMPILER_DATA   41
#define ConstructCompilerData(theEnv)   ((struct constructCompilerData *) GetEnvironmentData(theEnv,CONSTRUCT_COMPILER_DATA))
#define LOCALE   extern

Functions

LOCALE void InitializeConstructCompilerData (void *)
LOCALE void ConstructsToCCommandDefinition (void *)
LOCALE FILE * NewCFile (void *, char *, char *, char *, int, int, int)
LOCALE int ExpressionToCode (void *, FILE *, struct expr *)
LOCALE void PrintFunctionReference (void *, FILE *, struct FunctionDefinition *)
LOCALE struct CodeGeneratorItemAddCodeGeneratorItem (void *, char *, int, void(*)(void *), void(*)(void *, FILE *, int, int), int(*)(void *, char *, char *, char *, int, FILE *, int, int), int)
LOCALE FILE * CloseFileIfNeeded (void *, FILE *, int *, int *, int, int *, struct CodeGeneratorFile *)
LOCALE FILE * OpenFileIfNeeded (void *, FILE *, char *, char *, char *, int, int, int *, int, FILE *, char *, char *, int, struct CodeGeneratorFile *)
LOCALE void MarkConstructBsaveIDs (void *, int)
LOCALE void ConstructHeaderToCode (void *, FILE *, struct constructHeader *, int, int, int, char *, char *)
LOCALE void ConstructModuleToCode (void *, FILE *, struct defmodule *, int, int, int, char *)
LOCALE void PrintHashedExpressionReference (void *, FILE *, struct expr *, int, int)


Define Documentation

#define ArbitraryPrefix ( codeItem,
 )     (codeItem)->arrayNames[(i)]

Definition at line 26 of file conscomp.h.

#define CONSTRUCT_COMPILER_DATA   41

Definition at line 44 of file conscomp.h.

#define ConstructCompilerData ( theEnv   )     ((struct constructCompilerData *) GetEnvironmentData(theEnv,CONSTRUCT_COMPILER_DATA))

Definition at line 75 of file conscomp.h.

#define ConstructPrefix ( codeItem   )     (codeItem)->arrayNames[1]

Definition at line 29 of file conscomp.h.

#define LOCALE   extern

Definition at line 97 of file conscomp.h.

#define ModulePrefix ( codeItem   )     (codeItem)->arrayNames[0]

Definition at line 28 of file conscomp.h.


Function Documentation

LOCALE struct CodeGeneratorItem* AddCodeGeneratorItem ( void *  ,
char *  ,
int  ,
void(*)(void *)  ,
void(*)(void *, FILE *, int, int)  ,
int(*)(void *, char *, char *, char *, int, FILE *, int, int)  ,
int   
) [read]

Definition at line 1147 of file conscomp.c.

LOCALE FILE* CloseFileIfNeeded ( void *  ,
FILE *  ,
int *  ,
int *  ,
int  ,
int *  ,
struct CodeGeneratorFile  
)

Definition at line 1251 of file conscomp.c.

LOCALE void ConstructHeaderToCode ( void *  ,
FILE *  ,
struct constructHeader ,
int  ,
int  ,
int  ,
char *  ,
char *   
)

Definition at line 1482 of file conscomp.c.

LOCALE void ConstructModuleToCode ( void *  ,
FILE *  ,
struct defmodule ,
int  ,
int  ,
int  ,
char *   
)

Definition at line 1542 of file conscomp.c.

LOCALE void ConstructsToCCommandDefinition ( void *   ) 

Definition at line 1133 of file conscomp.c.

LOCALE int ExpressionToCode ( void *  ,
FILE *  ,
struct expr  
)

Definition at line 918 of file conscomp.c.

LOCALE void InitializeConstructCompilerData ( void *   ) 

Definition at line 137 of file conscomp.c.

LOCALE void MarkConstructBsaveIDs ( void *  ,
int   
)

Definition at line 1448 of file conscomp.c.

LOCALE FILE* NewCFile ( void *  ,
char *  ,
char *  ,
char *  ,
int  ,
int  ,
int   
)

Definition at line 829 of file conscomp.c.

LOCALE FILE* OpenFileIfNeeded ( void *  ,
FILE *  ,
char *  ,
char *  ,
char *  ,
int  ,
int  ,
int *  ,
int  ,
FILE *  ,
char *  ,
char *  ,
int  ,
struct CodeGeneratorFile  
)

Definition at line 1346 of file conscomp.c.

LOCALE void PrintFunctionReference ( void *  ,
FILE *  ,
struct FunctionDefinition  
)

Definition at line 714 of file conscomp.c.

LOCALE void PrintHashedExpressionReference ( void *  ,
FILE *  ,
struct expr ,
int  ,
int   
)

Definition at line 891 of file conscomp.c.


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