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

Public Member Functions | |
| YECall (TableEntry *entry) | |
| YECall (bytecodeistream &str) | |
| ~YECall () | |
| const SymbolEntryPtr | entry () const |
| constTypePtr | attachParameter (YCodePtr code, constTypePtr type) |
| virtual constTypePtr | finalize () |
| string | toString () const |
| std::ostream & | toStream (std::ostream &str) const |
| constTypePtr | type () const |
| string | qualifiedName () const |
Static Public Member Functions | |
| static YECallPtr | readCall (bytecodeistream &str) |
Protected Attributes | |
| TableEntry * | m_entry |
| SymbolEntryPtr | m_sentry |
| YCodePtr * | m_parameters |
| constTypePtr * | m_parameter_types |
| Y2Function * | m_functioncall |
| uint | m_next_param_id |
Private Member Functions | |
| REP_BODY (YECall) | |
| YECall::YECall | ( | TableEntry * | entry | ) |
| YECall::YECall | ( | bytecodeistream & | str | ) |
| YECall::~YECall | ( | ) |
| YECall::REP_BODY | ( | YECall | ) | [private] |
| const SymbolEntryPtr YECall::entry | ( | ) | const |
| constTypePtr YECall::attachParameter | ( | YCodePtr | code, | |
| constTypePtr | type | |||
| ) |
Attach parameter to external function call
| code,: | parameter code | |
| type,: | parameter type |
| constTypePtr YECall::finalize | ( | ) | [virtual] |
'close' function, perform final parameter check if ok, return 0 if missing parameter, return its type if undefined, return Type::Error (wrong type was already reported in attachParameter()
Reimplemented in YEFunction.
| string YECall::toString | ( | ) | const [virtual] |
| std::ostream & YECall::toStream | ( | std::ostream & | str | ) | const [virtual] |
| constTypePtr YECall::type | ( | ) | const [virtual] |
return type (interesting mostly for function calls)
Reimplemented from YCode.
| string YECall::qualifiedName | ( | ) | const |
| YECallPtr YECall::readCall | ( | bytecodeistream & | str | ) | [static] |
A static method to read YEFunction for function pointers and convert it to YEFunctionPointer implementation. This is needed for backward compatibility with SLES9/9.1
| str | the input bytecode stream |
TableEntry* YECall::m_entry [protected] |
SymbolEntryPtr YECall::m_sentry [protected] |
YCodePtr* YECall::m_parameters [protected] |
constTypePtr* YECall::m_parameter_types [protected] |
Y2Function* YECall::m_functioncall [protected] |
uint YECall::m_next_param_id [protected] |
1.5.0