ResolvedCallReferenceNode Class Reference

base class for resolved call references More...

#include <CallReferenceNode.h>

Inheritance diagram for ResolvedCallReferenceNode:

AbstractCallReferenceNode AbstractQoreNode QoreReferenceCounter

List of all members.

Public Member Functions

DLLLOCAL ResolvedCallReferenceNode (bool n_needs_eval=false, qore_type_t n_type=NT_FUNCREF)
 constructor is not exported outside the library
virtual DLLLOCAL AbstractQoreNodeexec (const QoreListNode *args, ExceptionSink *xsink) const =0
 pure virtual function for executing the function reference
virtual DLLLOCAL QoreProgramgetProgram () const
 returns a pointer to the QoreProgram object associated with this reference (can be 0)


Detailed Description

base class for resolved call references

Member Function Documentation

virtual DLLLOCAL AbstractQoreNode* ResolvedCallReferenceNode::exec ( const QoreListNode args,
ExceptionSink xsink 
) const [pure virtual]

pure virtual function for executing the function reference

executes the function reference and returns the value returned

Parameters:
args the arguments to the function
xsink any Qore-language exception thrown (and not handled) will be added here
Returns:
a pointer to an AbstractQoreNode, the caller owns the reference count returned (can also be 0)

virtual DLLLOCAL QoreProgram* ResolvedCallReferenceNode::getProgram (  )  const [virtual]

returns a pointer to the QoreProgram object associated with this reference (can be 0)

this function is not exported in the library's public interface

Returns:
a pointer to the QoreProgram object associated with this reference (can be 0)


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

Generated on Mon Oct 26 09:09:50 2009 for Qore Programming Language by  doxygen 1.5.6