#include <YStatement.h>
Public Member Functions | |
YSVariable (SymbolEntryPtr entry, YCodePtr code, int line=0) | |
YSVariable (bytecodeistream &str) | |
~YSVariable () | |
virtual ykind | kind () const |
string | toString () const |
Private Member Functions | |
REP_BODY (YSVariable) |
assignment or definition [<type>] <m_entry> = <m_code>
YSVariable::YSVariable | ( | SymbolEntryPtr | entry, | |
YCodePtr | code, | |||
int | line = 0 | |||
) |
YSVariable::YSVariable | ( | bytecodeistream & | str | ) |
References YSAssign::m_code, and YSAssign::m_entry.
YSVariable::~YSVariable | ( | ) |
virtual ykind YSVariable::kind | ( | ) | const [inline, virtual] |
Kind of this YCode. This method must be reimplemented in the inherited classes.
Reimplemented from YSAssign.
References YCode::ysVariable.
YSVariable::REP_BODY | ( | YSVariable | ) | [private] |
string YSVariable::toString | ( | void | ) | const [virtual] |
Return ASCII represtation of this YCP code.
Reimplemented from YSAssign.
References YSAssign::m_code, and YSAssign::m_entry.