#include <YExpression.h>
Inheritance diagram for YEVariable:

Public Member Functions | |
| YEVariable (SymbolEntryPtr entry) | |
| YEVariable (bytecodeistream &str) | |
| ~YEVariable () | |
| virtual ykind | kind () const |
| const char * | name () const |
| SymbolEntryPtr | entry () const |
| string | toString () const |
| virtual bool | isReferenceable () 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 |
| YEVariable::YEVariable | ( | SymbolEntryPtr | entry | ) |
| YEVariable::YEVariable | ( | bytecodeistream & | str | ) |
| YEVariable::~YEVariable | ( | ) | [inline] |
| YEVariable::REP_BODY | ( | YEVariable | ) | [private] |
| const char * YEVariable::name | ( | ) | const |
| SymbolEntryPtr YEVariable::entry | ( | ) | const |
| string YEVariable::toString | ( | ) | const [virtual] |
| virtual bool YEVariable::isReferenceable | ( | ) | const [inline, virtual] |
yes
Reimplemented from YCode.
| YCPValue YEVariable::evaluate | ( | bool | cse = false |
) | [virtual] |
| std::ostream & YEVariable::toStream | ( | std::ostream & | str | ) | const [virtual] |
| constTypePtr YEVariable::type | ( | ) | const [inline, virtual] |
return type (interesting mostly for function calls)
Reimplemented from YCode.
SymbolEntryPtr YEVariable::m_entry [private] |
1.5.0