YEFunction Class Reference

#include <YExpression.h>

Inheritance diagram for YEFunction:
YECall YCode Rep

List of all members.

Public Member Functions

 YEFunction (TableEntry *entry)
 YEFunction (bytecodeistream &str)
virtual ykind kind () const
virtual YCPValue evaluate (bool cse=false)
virtual constTypePtr finalize ()

Private Member Functions

 REP_BODY (YEFunction)

Constructor & Destructor Documentation

YEFunction::YEFunction ( TableEntry entry  ) 

References TableEntry::sentry(), and y2debug.

YEFunction::YEFunction ( bytecodeistream str  ) 

Member Function Documentation

YCPValue YEFunction::evaluate ( bool  cse = false  )  [virtual]
constTypePtr YEFunction::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 from YECall.

References Type::Error, YECall::m_functioncall, YECall::m_sentry, and y2error.

virtual ykind YEFunction::kind (  )  const [inline, virtual]

Kind of this YCode. This method must be reimplemented in the inherited classes.

Returns:
the YCode kind

Implements YCode.

References YCode::yeFunction.

YEFunction::REP_BODY ( YEFunction   )  [private]

The documentation for this class was generated from the following files:

Generated on a sunny day for yast2-core by doxygen 1.6.3