YEIs Class Reference

#include <YExpression.h>

Inheritance diagram for YEIs:

YCode List of all members.

Public Member Functions

 YEIs (YCodePtr expr, constTypePtr type)
 YEIs (bytecodeistream &str)
 ~YEIs ()
virtual ykind kind () const
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

YEIs::REP_BODY ( YEIs   )  [private]

virtual ykind YEIs::kind (  )  const [inline, virtual]

Returns the YCode kind

Implements YCode.

string YEIs::toString (  )  const [virtual]

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

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.

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

writes YCode to a stream see Bytecode for read

Implements 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 Tue Nov 6 01:20:23 2007 for yast2-core by  doxygen 1.5.0