Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Leaf Class Reference

#include <ptree.h>

Inheritance diagram for Leaf:

Inheritance graph
[legend]
Collaboration diagram for Leaf:

Collaboration graph
[legend]
List of all members.

Public Methods

 Leaf (char *, int)
 Leaf (Token &)
bool IsLeaf ()
void Print (ostream &, int, int)
int Write (ostream &, int)
void WritePS (ProgramString &)

Constructor & Destructor Documentation

Leaf::Leaf char *   ,
int   
 

Definition at line 24 of file ptree.cc.

References Ptree::data.

Leaf::Leaf Token  
 

Definition at line 30 of file ptree.cc.

References Ptree::data, Token::len, and Token::ptr.


Member Function Documentation

bool Leaf::IsLeaf   [virtual]
 

Implements Ptree.

Definition at line 36 of file ptree.cc.

References TRUE.

Referenced by Translate_visitor::visit_leaf().

void Leaf::Print ostream &   ,
int   ,
int   
[virtual]
 

Implements Ptree.

Reimplemented in DupLeaf.

Definition at line 41 of file ptree.cc.

References Ptree::data.

int Leaf::Write ostream &   ,
int   
[virtual]
 

Implements Ptree.

Definition at line 65 of file ptree.cc.

References Ptree::data, and Ptree::PrintIndent().

void Leaf::WritePS ProgramString   [virtual]
 

Implements Ptree.

Definition at line 83 of file ptree.cc.

References Ptree::data.


The documentation for this class was generated from the following files:
Generated on Mon Feb 10 17:35:41 2003 for VFiasco Semantics Compiler by doxygen1.2.15