YEIs Class Reference

#include <YExpression.h>

Inheritance diagram for YEIs:

YCode Rep List of all members.

Public Member Functions

 YEIs (YCodePtr expr, constTypePtr type)
 YEIs (bytecodeistream &str)
 ~YEIs ()
string toString () const
YCPValue evaluate (bool cse=false)
std::ostream & toStream (std::ostream &str) const
constTypePtr type () const

Private Member Functions

 REP_BODY (YEIs)

Private Attributes

YCodePtr m_expr
constTypePtr m_type

Constructor & Destructor Documentation

YEIs::YEIs YCodePtr  expr,
constTypePtr  type
 

YEIs::YEIs bytecodeistream str  ) 
 

YEIs::~YEIs  ) 
 


Member Function Documentation

YCPValue YEIs::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.

YEIs::REP_BODY YEIs   )  [private]
 

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

writes YCode to a stream see Bytecode for read

Implements YCode.

string YEIs::toString  )  const [virtual]
 

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

constTypePtr YEIs::type  )  const [inline, virtual]
 

return type (interesting mostly for function calls)

Reimplemented from YCode.


Member Data Documentation

YCodePtr YEIs::m_expr [private]
 

constTypePtr YEIs::m_type [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