YEList Class Reference

#include <YExpression.h>

Inheritance diagram for YEList:

YCode Rep List of all members.

Public Member Functions

 YEList (YCodePtr code)
 YEList (bytecodeistream &str)
 ~YEList ()
void attach (YCodePtr element)
string toString () const
YCPValue evaluate (bool cse=false)
std::ostream & toStream (std::ostream &str) const
constTypePtr type () const
int count () const
YCodePtr value (int index) const

Private Member Functions

 REP_BODY (YEList)

Private Attributes

ycodelist_tm_first

Constructor & Destructor Documentation

YEList::YEList YCodePtr  code  ) 
 

YEList::YEList bytecodeistream str  ) 
 

YEList::~YEList  ) 
 


Member Function Documentation

void YEList::attach YCodePtr  element  ) 
 

int YEList::count  )  const
 

YCPValue YEList::evaluate bool  cse = false  )  [virtual]
 

evaluate YCode to YCPValue if debugger == 0 called for parse time evaluation (i.e. constant subexpression elimination) else called for runtime evaluation

Reimplemented from YCode.

YEList::REP_BODY YEList   )  [private]
 

std::ostream & YEList::toStream std::ostream &  str  )  const [virtual]
 

writes YCode to a stream see Bytecode for read

Implements YCode.

string YEList::toString  )  const [virtual]
 

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

constTypePtr YEList::type  )  const [virtual]
 

return type (interesting mostly for function calls)

Reimplemented from YCode.

YCodePtr YEList::value int  index  )  const
 


Member Data Documentation

ycodelist_t* YEList::m_first [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:47 2006 for yast2-core by  doxygen 1.4.6