Polaris: Symtab.cc File Reference

Symtab.cc File Reference

Go to the source code of this file.

Typedefs

typedef Map< Symbol, IntElemTopSortMap

Functions

template void relink_all_dptrs (Dictionary< Symbol > &, ProgramUnit &)
ostream & operator<< (ostream &o, const Symtab &symtab)
static int top_sort_expressions (TopSortMap &map, Expression &e)
static void top_sort_parameters (TopSortMap &map)
static int str_case_compare (const char *str1, const char *str2)


Typedef Documentation

typedef Map<Symbol,IntElem> TopSortMap
 

Definition at line 151 of file Symtab.cc.


Function Documentation

template void relink_all_dptrs Dictionary< Symbol > &  ,
ProgramUnit
 

Same applies to the methods that set equivalence, and all similar items. others to do: common

Don\'t forget to delete pointers before reassigning them in all reassigning methods

In the operator = functions, make sure that you\'re using clone() for all pointers that need to be copied, such as Expression *\'s

destructors for all objects

ostream& operator<< ostream &  o,
const Symtab symtab
 

Definition at line 52 of file Symtab.cc.

References DictionaryIter< T >::current(), and KeyIterator< String, T >::valid().

static int top_sort_expressions TopSortMap map,
Expression e
[static]
 

Definition at line 154 of file Symtab.cc.

References Expression::arg_list(), e, ID_OP, Expression::op(), DistributeExpr::symbol(), and List< T >::valid().

Referenced by top_sort_parameters().

static void top_sort_parameters TopSortMap map  )  [static]
 

Definition at line 168 of file Symtab.cc.

References top_sort_expressions().

static int str_case_compare const char *  str1,
const char *  str2
[static]
 

Definition at line 178 of file Symtab.cc.

 © 1995-2005 University of Illinois, Urbana-Champaign. All rights reserved.  Fri Mar 25 23:06:31 2005