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

Public Member Functions | |
| YETerm (const char *name) | |
| YETerm (bytecodeistream &str) | |
| ~YETerm () | |
| virtual ykind | kind () const |
| 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 |
| YETerm::YETerm | ( | const char * | name | ) |
| YETerm::YETerm | ( | bytecodeistream & | str | ) |
| YETerm::~YETerm | ( | ) |
| YETerm::REP_BODY | ( | YETerm | ) | [private] |
| constTypePtr YETerm::attachParameter | ( | YCodePtr | code, | |
| constTypePtr | dummy = Type::Unspec | |||
| ) |
Attach parameter to external function call
| code,: | parameter code | |
| type,: | parameter type |
| string YETerm::toString | ( | ) | const [virtual] |
| const char * YETerm::name | ( | ) | const |
| YCPValue YETerm::evaluate | ( | bool | cse = false |
) | [virtual] |
| std::ostream & YETerm::toStream | ( | std::ostream & | str | ) | const [virtual] |
| constTypePtr YETerm::type | ( | ) | const [inline, virtual] |
return type (interesting mostly for function calls)
Reimplemented from YCode.
const char* YETerm::m_name [private] |
ycodelist_t* YETerm::m_parameters [private] |
1.5.0