Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

YEVariable Class Reference

#include <YExpression.h>

Inheritance diagram for YEVariable:

YCode Rep List of all members.

Public Member Functions

 YEVariable (SymbolEntryPtr entry)
 YEVariable (std::istream &str)
 ~YEVariable ()
const char * name () const
SymbolEntryPtr entry () const
string toString () const
YCPValue evaluate (bool cse=false)
std::ostream & toStream (std::ostream &str) const
constTypePtr type () const

Private Member Functions

 REP_BODY (YEVariable)

Private Attributes

SymbolEntryPtr m_entry

Constructor & Destructor Documentation

YEVariable::YEVariable SymbolEntryPtr  entry  ) 
 

YEVariable::YEVariable std::istream &  str  ) 
 

YEVariable::~YEVariable  )  [inline]
 


Member Function Documentation

SymbolEntryPtr YEVariable::entry  )  const
 

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

const char * YEVariable::name  )  const
 

YEVariable::REP_BODY YEVariable   )  [private]
 

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

writes YCode to a stream see Bytecode for read

Implements YCode.

string YEVariable::toString  )  const [virtual]
 

Returns an ASCII representation of the YCode.

Reimplemented from YCode.

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

return type (interesting mostly for function calls)

Reimplemented from YCode.


Member Data Documentation

SymbolEntryPtr YEVariable::m_entry [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6