xlat-i/xi-symbol.C File Reference

Go to the source code of this file.

Enumerations

enum  bool { false = 0, true = 1, false = 0, true = 1 }

Functions

void die (const char *why, int line)
char * fortranify (const char *s, const char *suff1="", const char *suff2="", const char *suff3="")
static const char * forWhomStr (forWhom w)
XStr indexSuffix2object (const XStr &indexSuffix)
XStr makeIdent (const XStr &in)

Variables

int fortranMode
int internalMode
const char * cur_file
char * python_doc
static const char * CIClassStart
static const char * CIClassEnd
static const char * CIMsgClassAnsi


Enumeration Type Documentation

enum bool

Enumerator:
false 
true 
false 
true 

Definition at line 13 of file xi-symbol.C.


Function Documentation

void die ( const char *  why,
int  line 
)

Definition at line 37 of file xi-symbol.C.

References cur_file.

char* fortranify ( const char *  s,
const char *  suff1 = "",
const char *  suff2 = "",
const char *  suff3 = "" 
)

Definition at line 47 of file xi-symbol.C.

References c.

Referenced by Entry::genCall(), Entry::genDefs(), Readonly::genDefs(), and Chare::genDefs().

static const char* forWhomStr ( forWhom  w  )  [static]

Definition at line 484 of file xi-symbol.C.

References forAll, forIndex, forIndividual, forPython, forSection, Prefix::Index, Prefix::Proxy, Prefix::ProxyElement, and Prefix::ProxySection.

Referenced by NamedType::genProxyName(), and Chare::proxyPrefix().

XStr indexSuffix2object ( const XStr indexSuffix  ) 

Definition at line 971 of file xi-symbol.C.

Referenced by Array::Array().

XStr makeIdent ( const XStr in  ) 

Definition at line 1814 of file xi-symbol.C.

References XStr::get_string_const().

Referenced by Readonly::genDefs(), and Readonly::genReg().


Variable Documentation

int fortranMode

Definition at line 23 of file xi-symbol.C.

Referenced by Entry::genCall(), Entry::genDefs(), Readonly::genDefs(), Chare::genDefs(), Module::generate(), main(), and Entry::setChare().

int internalMode

Definition at line 24 of file xi-symbol.C.

Referenced by Entry::genCall(), Entry::genReg(), Chare::genRegisterMethodDef(), and main().

const char* cur_file

Definition at line 25 of file xi-symbol.C.

Referenced by die(), and Parse().

char* python_doc

Definition at line 26 of file xi-symbol.C.

Referenced by Entry::Entry().

const char* CIClassStart [static]

Initial value:

 
"{\n"
"  public:\n"

Definition at line 562 of file xi-symbol.C.

Referenced by Chare::genDecls(), Chare::genPythonDecls(), Array::genSubDecls(), Group::genSubDecls(), and Chare::genSubDecls().

const char* CIClassEnd [static]

Initial value:

"};\n"

Definition at line 567 of file xi-symbol.C.

Referenced by Chare::genDecls(), Chare::genPythonDecls(), Array::genSubDecls(), Group::genSubDecls(), and Chare::genSubDecls().

const char* CIMsgClassAnsi [static]

Initial value:

"{\n"
"  public:\n"
"    static int __idx;\n"
"    void* operator new(size_t, void*p) { return p; }\n"
"    void* operator new(size_t);\n"
"    void* operator new(size_t, int*, const int);\n"
"    void* operator new(size_t, int*);\n"
"#if CMK_MULTIPLE_DELETE\n"
"    void operator delete(void*p, void*){CkFreeMsg(p);}\n"
"    void operator delete(void*p){ CkFreeMsg(p);}\n"
"    void operator delete(void*p, int*, const int){CkFreeMsg(p);}\n"
"    void operator delete(void*p, int*){CkFreeMsg(p);}\n"
"#endif\n"
"    void operator delete(void*p, size_t){CkFreeMsg(p);}\n"
"    static void* alloc(int,size_t, int*, int);\n"

Definition at line 1453 of file xi-symbol.C.

Referenced by Message::genAllocDecl().


Generated on Sun Jun 29 13:29:36 2008 for Charm++ by  doxygen 1.5.1