Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

CompilerStruct Struct Reference
[Compiler - compile a constraint grammar]

Collaboration diagram for CompilerStruct:

Collaboration graph
[legend]

Detailed Description

definition of a CDG compiler object.

Definition at line 58 of file compile.c.

Data Fields

FILE * ccFile
String ccFileName
Vector connexions
Constraint currentConstraint
Formula currentFormula
Vector directions
int indent
String indentString
Vector indentStrings
int maxLookupStrings
int maxValues
Boolean needsIndent
String objFileName
String soFileName
Vector strings
Boolean translateOnly


Field Documentation

FILE* CompilerStruct::ccFile
 

filehandle of the file in ccFileName Definition at line 60 of file compile.c.

Referenced by comCompile(), comPrint(), comPrintln(), comWriteError(), and comWriteWarning().

String CompilerStruct::ccFileName
 

filename for C code Definition at line 59 of file compile.c.

Referenced by comCompile(), comMake(), comNew(), and comTranslate().

Vector CompilerStruct::connexions
 

collection of all defined connexions Definition at line 68 of file compile.c.

Referenced by comFree(), and comNew().

Constraint CompilerStruct::currentConstraint
 

the constraint being currently translated Definition at line 69 of file compile.c.

Referenced by comIndexOfVarInfo(), comNew(), comTranslateConnected(), comTranslateConstraint(), comTranslateEquation(), comTranslateIs(), comTranslateLookup(), comTranslateMatch(), comTranslateParent(), comTranslateSubsumes(), comTranslateUnEquation(), comWriteError(), and comWriteWarning().

Formula CompilerStruct::currentFormula
 

the Formula being currently translated Definition at line 70 of file compile.c.

Referenced by comTranslateFormula(), and comTranslateHas().

Vector CompilerStruct::directions
 

collection of all defined directions Definition at line 67 of file compile.c.

Referenced by comFree(), and comNew().

int CompilerStruct::indent
 

current indentation level Definition at line 63 of file compile.c.

Referenced by comIndent(), comNew(), comOutdent(), comTranslateBinaryConstraints(), comTranslateUnaryConstraints(), and comWriteFunctions().

String CompilerStruct::indentString
 

current indentation Definition at line 64 of file compile.c.

Referenced by comIndent(), comNew(), comOutdent(), comPrint(), and comPrintln().

Vector CompilerStruct::indentStrings
 

possible indentation Definition at line 65 of file compile.c.

Referenced by comFree(), comIndent(), comNew(), and comOutdent().

int CompilerStruct::maxLookupStrings
 

max number of Strings used in 'lookup' constraints Definition at line 72 of file compile.c.

Referenced by comAnalyzeGrammar(), and comWriteInitFunction().

int CompilerStruct::maxValues
 

max number of variables to eval all constraints Definition at line 71 of file compile.c.

Referenced by comAnalyzeGrammar(), and comWriteDeclarations().

Boolean CompilerStruct::needsIndent
 

TRUE by comPrintln, FALSE by comPrint Definition at line 66 of file compile.c.

Referenced by comNew(), comPrint(), comPrintln(), comWriteError(), and comWriteWarning().

String CompilerStruct::objFileName
 

filename for object code Definition at line 61 of file compile.c.

Referenced by comCompile(), comMake(), and comNew().

String CompilerStruct::soFileName
 

filename for C dll grammar Definition at line 62 of file compile.c.

Referenced by comCompile(), comLoad(), comMake(), and comNew().

Vector CompilerStruct::strings
 

list of strings to allocated statically Definition at line 73 of file compile.c.

Referenced by comFree(), comNew(), comRegisterString(), comWriteFinitFunction(), and comWriteInitFunction().

Boolean CompilerStruct::translateOnly
 

if TRUE we dont compile+load a shared object Definition at line 74 of file compile.c.

Referenced by comCompile(), and comNew().


The documentation for this struct was generated from the following file:
CDG 0.95 (20 Oct 2004)