#include <YStatement.h>
Inheritance diagram for YSAssign:

Public Member Functions | |
| YSAssign (SymbolEntryPtr entry, YCodePtr code, int line=0) | |
| YSAssign (bytecodeistream &str) | |
| ~YSAssign () | |
| virtual ykind | kind () const |
| string | toString () const |
| std::ostream & | toStream (std::ostream &str) const |
| YCPValue | evaluate (bool cse=false) |
Protected Attributes | |
| SymbolEntryPtr | m_entry |
| YCodePtr | m_code |
Private Member Functions | |
| REP_BODY (YSAssign) | |
| YSAssign::YSAssign | ( | SymbolEntryPtr | entry, | |
| YCodePtr | code, | |||
| int | line = 0 | |||
| ) |
| YSAssign::YSAssign | ( | bytecodeistream & | str | ) |
| YSAssign::~YSAssign | ( | ) |
| YSAssign::REP_BODY | ( | YSAssign | ) | [private] |
| virtual ykind YSAssign::kind | ( | ) | const [inline, virtual] |
| string YSAssign::toString | ( | ) | const [virtual] |
Returns an ASCII representation of the YCode.
Reimplemented from YStatement.
Reimplemented in YSVariable.
| std::ostream & YSAssign::toStream | ( | std::ostream & | str | ) | const [virtual] |
writes YCode to a stream see Bytecode for read
Reimplemented from YStatement.
| YCPValue YSAssign::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 YStatement.
SymbolEntryPtr YSAssign::m_entry [protected] |
YCodePtr YSAssign::m_code [protected] |
1.5.0