YEUnary Class Reference

#include <YExpression.h>

Inheritance diagram for YEUnary:

YCode List of all members.

Public Member Functions

 YEUnary (declaration_t *decl, YCodePtr arg)
 YEUnary (bytecodeistream &str)
 ~YEUnary ()
virtual ykind kind () const
declaration_tdecl () const
string toString () const
YCPValue evaluate (bool cse=false)
std::ostream & toStream (std::ostream &str) const
constTypePtr type () const

Private Member Functions

 REP_BODY (YEUnary)

Private Attributes

declaration_tm_decl
YCodePtr m_arg

Constructor & Destructor Documentation

YEUnary::YEUnary ( declaration_t decl,
YCodePtr  arg 
)

YEUnary::YEUnary ( bytecodeistream str  ) 

YEUnary::~YEUnary (  ) 


Member Function Documentation

YEUnary::REP_BODY ( YEUnary   )  [private]

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

Returns the YCode kind

Implements YCode.

declaration_t * YEUnary::decl (  )  const

string YEUnary::toString (  )  const [virtual]

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

YCPValue YEUnary::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 & YEUnary::toStream ( std::ostream &  str  )  const [virtual]

writes YCode to a stream see Bytecode for read

Implements YCode.

constTypePtr YEUnary::type (  )  const [inline, virtual]

return type (interesting mostly for function calls)

Reimplemented from YCode.


Member Data Documentation

declaration_t* YEUnary::m_decl [private]

YCodePtr YEUnary::m_arg [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