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

NonLeaf Class Reference

#include <ptree.h>

Inheritance diagram for NonLeaf:

Inheritance graph
[legend]
Collaboration diagram for NonLeaf:

Collaboration graph
[legend]
List of all members.

Public Methods

 NonLeaf (Ptree *, Ptree *)
bool IsLeaf ()
void Print (ostream &, int, int)
int Write (ostream &, int)
void PrintWithEncodeds (ostream &, int, int)
void WritePS (ProgramString &)

Protected Methods

bool TooDeep (ostream &, int)

Constructor & Destructor Documentation

NonLeaf::NonLeaf Ptree  ,
Ptree  
 

Definition at line 196 of file ptree.cc.

References Ptree::data.


Member Function Documentation

bool NonLeaf::IsLeaf   [virtual]
 

Implements Ptree.

Definition at line 202 of file ptree.cc.

References FALSE.

Referenced by Translate_visitor::visit_function().

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

Implements Ptree.

Reimplemented in PtreeBrace, PtreeDeclarator, PtreeName, and PtreeFstyleCastExpr.

Definition at line 207 of file ptree.cc.

References Ptree::data, Ptree::IsLeaf(), nil, Ptree::Print(), and TooDeep().

Referenced by PtreeFstyleCastExpr::Print(), PtreeName::Print(), PtreeDeclarator::Print(), and PrintWithEncodeds().

void NonLeaf::PrintWithEncodeds ostream &   ,
int   ,
int   
 

Definition at line 268 of file ptree.cc.

References Ptree::GetEncodedName(), Ptree::GetEncodedType(), nil, Print(), and Encoding::Print().

Referenced by PtreeFstyleCastExpr::Print(), PtreeName::Print(), and PtreeDeclarator::Print().

bool NonLeaf::TooDeep ostream &   ,
int   
[protected]
 

Definition at line 235 of file ptree.cc.

References FALSE, and TRUE.

Referenced by PtreeBrace::Print(), and Print().

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

Implements Ptree.

Reimplemented in PtreeBrace.

Definition at line 245 of file ptree.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::IsLeaf(), MopErrorMessage(), nil, and Ptree::Write().

void NonLeaf::WritePS ProgramString   [virtual]
 

Implements Ptree.

Definition at line 285 of file ptree.cc.

References Ptree::Car(), Ptree::Cdr(), Ptree::IsLeaf(), MopErrorMessage(), nil, and Ptree::WritePS().


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