symboldef.h File Reference

#include "ptree.h"
#include "symbol.h"
#include "util.h"

Include dependency graph for symboldef.h:

Go to the source code of this file.

Classes

struct  specx
struct  typex
struct  varx
struct  mfpx
struct  classx
struct  modulex
struct  namex
struct  filex
struct  subtype_rel

Defines

#define GLOBALSYM   1
#define CLASSSYM   2
#define PARAMETER   3
#define LOCALSYM   4
#define INVISIBLESYM   12
#define TBASIC   5
#define TARRAY   6
#define TPOINTER   7
#define TENUM   8
#define TSTRUCT   9
#define TTYPE   10
#define TCLASS   11

Functions

void initmodule (void)
void init_moduletable (void)
void addsubtype (symboltable *t, char *name)
void addtype (symboltable *t, char *name, int type, char *basetype, symboltable *fields, int scope, linex *lf)
void addvariable (symboltable *t, char *name, char *type, int scope, parsex *init, linex *lf)
void addfunction (symboltable *t, char *name, char *rettype, char *reptype, symboltable *params, symboltable *locals, parsex *code, bool ismethod, int scope, linex *lf)
void addclass (symboltable *t, char *name, parsex *code, symboltable *types, symboltable *variables, symboltable *func_meths, symboltable *subtypeof, int scope, linex *lf, symboltable *localvars)
void addmodule (symboltable *t, char *name, specx *specs, symboltable *types, symboltable *variables, symboltable *functions, symboltable *classes)


Define Documentation

#define GLOBALSYM   1
 

#define CLASSSYM   2
 

#define PARAMETER   3
 

#define LOCALSYM   4
 

#define INVISIBLESYM   12
 

#define TBASIC   5
 

#define TARRAY   6
 

#define TPOINTER   7
 

#define TENUM   8
 

#define TSTRUCT   9
 

#define TTYPE   10
 

#define TCLASS   11
 


Function Documentation

void initmodule void   ) 
 

void init_moduletable void   ) 
 

void addsubtype symboltable t,
char *  name
 

void addtype symboltable t,
char *  name,
int  type,
char *  basetype,
symboltable fields,
int  scope,
linex lf
 

void addvariable symboltable t,
char *  name,
char *  type,
int  scope,
parsex init,
linex lf
 

void addfunction symboltable t,
char *  name,
char *  rettype,
char *  reptype,
symboltable params,
symboltable locals,
parsex code,
bool  ismethod,
int  scope,
linex lf
 

void addclass symboltable t,
char *  name,
parsex code,
symboltable types,
symboltable variables,
symboltable func_meths,
symboltable subtypeof,
int  scope,
linex lf,
symboltable localvars
 

void addmodule symboltable t,
char *  name,
specx specs,
symboltable types,
symboltable variables,
symboltable functions,
symboltable classes
 


Generated on Wed Apr 5 21:02:41 2006 for Sesame by  doxygen 1.4.6