YEBinary Class Reference

#include <YExpression.h>

Inheritance diagram for YEBinary:

YCode List of all members.

Public Member Functions

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

Private Member Functions

 REP_BODY (YEBinary)

Private Attributes

declaration_tm_decl
YCodePtr m_arg1
YCodePtr m_arg2

Constructor & Destructor Documentation

YEBinary::YEBinary ( declaration_t decl,
YCodePtr  arg1,
YCodePtr  arg2 
)

YEBinary::YEBinary ( bytecodeistream str  ) 

YEBinary::~YEBinary (  ) 


Member Function Documentation

YEBinary::REP_BODY ( YEBinary   )  [private]

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

Returns the YCode kind

Implements YCode.

declaration_t * YEBinary::decl (  ) 

string YEBinary::toString (  )  const [virtual]

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

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

writes YCode to a stream see Bytecode for read

Implements YCode.

constTypePtr YEBinary::type (  )  const [virtual]

return type (interesting mostly for function calls)

Reimplemented from YCode.


Member Data Documentation

declaration_t* YEBinary::m_decl [private]

YCodePtr YEBinary::m_arg1 [private]

YCodePtr YEBinary::m_arg2 [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