Symbol Class Reference

Symbols are unique objects with a name stored in a hash table. More...

#include <symbol.hh>

Collaboration diagram for Symbol:
Collaboration graph
[legend]

List of all members.

Public Member Functions

ostream & print (ostream &fout) const
 print a symbol on a stream

Friends

Symbolsymbol (const char *str)
 Returns (and creates if new) the symbol of name str.
Symbolsymbol (const string &str)
 Returns (and creates if new) the symbol of name str.
Symbolunique (const char *str)
 Returns a new unique symbol of name strxxx.

Detailed Description

Symbols are unique objects with a name stored in a hash table.

Definition at line 53 of file symbol.hh.


Member Function Documentation

ostream & Symbol::print ( ostream &  fout  )  const

print a symbol on a stream

< print a symbol on a stream

Definition at line 174 of file symbol.cpp.

00175 {
00176     return fout << fName;
00177 }


The documentation for this class was generated from the following files:

Generated on 31 Mar 2010 for FAUST compiler by  doxygen 1.6.1