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

PtreeArray Class Reference

#include <ptree-core.h>

Collaboration diagram for PtreeArray:

Collaboration graph
[legend]
List of all members.

Public Methods

 PtreeArray (int=8)
uint Number ()
Ptree *& operator[] (uint index)
Ptree *& Ref (uint index)
void Append (Ptree *)
void Clear ()
PtreeAll ()

Private Attributes

uint num
uint size
Ptree ** array
Ptreedefault_buf [8]

Constructor & Destructor Documentation

PtreeArray::PtreeArray int    = 8
 

Definition at line 815 of file ptree-core.cc.

References array, default_buf, num, and size.


Member Function Documentation

Ptree * PtreeArray::All  
 

Definition at line 850 of file ptree-core.cc.

References Ptree::Cons(), nil, Number(), Ref(), and sint.

Referenced by Source::dump(), ClassWalker::GetAppendedPtree(), ClassWalker::GetInsertedPtree(), Ptree::ReplaceAll(), Source::translate(), Walker::TranslateArguments(), Walker::TranslateBlock(), ClassWalker::TranslateBlock(), Walker::TranslateBrace(), Walker::TranslateClassBody(), ClassBodyWalker::TranslateClassBody(), Walker::TranslateDeclarators(), ClassWalker::TranslateFunctionBody(), and Walker::TranslateTry().

void PtreeArray::Append Ptree  
 

Definition at line 828 of file ptree-core.cc.

References array, num, and size.

Referenced by ClassWalker::AppendAfterStatement(), ClassWalker::AppendAfterToplevel(), ClassBodyWalker::AppendNewMembers(), Member::GetUserArgumentModifiers(), ClassWalker::InsertBeforeStatement(), ClassWalker::InsertBeforeToplevel(), ClassWalker::InsertDeclaration(), Source::parse(), Environment::RecordClasskeyword(), ClassWalker::RecordMemberDeclaration(), ClassWalker::RecordMembers(), Environment::RecordMetaclassName(), Ptree::ReplaceAll(), Source::translate(), Walker::TranslateArguments(), Walker::TranslateBlock(), ClassWalker::TranslateBlock(), Walker::TranslateBrace(), Walker::TranslateClassBody(), ClassBodyWalker::TranslateClassBody(), Walker::TranslateDeclarators(), and Walker::TranslateTry().

void PtreeArray::Clear   [inline]
 

Definition at line 205 of file ptree-core.h.

Referenced by ClassWalker::GetAppendedPtree(), ClassWalker::GetInsertedPtree(), Member::GetUserArgumentModifiers(), ClassWalker::TranslateBlock(), and ClassWalker::TranslateFunctionBody().

uint PtreeArray::Number   [inline]
 

Definition at line 201 of file ptree-core.h.

References uint.

Referenced by All(), ClassWalker::GetAppendedPtree(), ClassWalker::GetInsertedPtree(), Environment::LookupClasskeyword(), Environment::LookupMetaclass(), ClassWalker::RecordMembers(), ClassWalker::TranslateBlock(), ClassWalker::TranslateFunctionBody(), and ClassBodyWalker::TranslateTypespecifier().

Ptree*& PtreeArray::operator[] uint    index [inline]
 

Definition at line 202 of file ptree-core.h.

References uint.

Ptree *& PtreeArray::Ref uint    index
 

Definition at line 840 of file ptree-core.cc.

References array, MopErrorMessage(), num, and uint.

Referenced by All(), Environment::LookupClasskeyword(), and ClassBodyWalker::TranslateTypespecifier().


Member Data Documentation

Ptree** PtreeArray::array [private]
 

Definition at line 210 of file ptree-core.h.

Referenced by Append(), PtreeArray(), and Ref().

Ptree* PtreeArray::default_buf[8] [private]
 

Definition at line 211 of file ptree-core.h.

Referenced by PtreeArray().

uint PtreeArray::num [private]
 

Definition at line 209 of file ptree-core.h.

Referenced by Append(), PtreeArray(), and Ref().

uint PtreeArray::size [private]
 

Definition at line 209 of file ptree-core.h.

Referenced by Append(), and PtreeArray().


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