#include <YCode.h>
Inheritance diagram for YDeclaration:
Public Member Functions | |
YDeclaration (ykind kind, declaration_t *value) | |
YDeclaration (std::istream &str) | |
~YDeclaration () | |
declaration_t * | value () const |
string | toString () const |
std::ostream & | toStream (std::ostream &str) const |
YCPValue | evaluate (bool cse=false) |
constTypePtr | type () const |
Private Member Functions | |
REP_BODY (YDeclaration) | |
Private Attributes | |
declaration_t * | m_value |
|
|
|
|
|
|
|
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. |
|
|
|
writes YCode to a stream see Bytecode for read Implements YCode. |
|
Returns an ASCII representation of the YCode. Reimplemented from YCode. |
|
return type (interesting mostly for function calls) Reimplemented from YCode. |
|
|
|
|