#include <YExpression.h>
Inheritance diagram for YETerm:
Public Member Functions | |
YETerm (const char *name) | |
YETerm (bytecodeistream &str) | |
~YETerm () | |
constTypePtr | attachParameter (YCodePtr code, constTypePtr dummy=Type::Unspec) |
string | toString () const |
const char * | name () const |
YCPValue | evaluate (bool cse=false) |
std::ostream & | toStream (std::ostream &str) const |
constTypePtr | type () const |
Private Member Functions | |
REP_BODY (YETerm) | |
Private Attributes | |
const char * | m_name |
ycodelist_t * | m_parameters |
|
|
|
|
|
|
|
Attach parameter to external function call
|
|
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. |
|
|
|
|