Qore Programming Language Reference Manual  1.0.8
Pseudo_QC_Callref.dox.h
1 
3 namespace Qore {
5 /***/
6 class <callref> : public <value> {
7 
8 public:
10 
21 bool callp();
22 
23 public:
25 
29 auto exec( ...);
30 
31 public:
33 
47 int typeCode();
48 
49 public:
51 
65 bool val();
66 };
67 }
Methods in this pseudo-class are available to be executed on any value type (even NOTHING); this is t...
Definition: Pseudo_QC_All.dox.h:6
int typeCode()
Returns Qore::NT_CALLREF.
bool val()
Returns True.
bool callp()
Returns True because this is a callable type.
auto exec(...)
Evaluates the code with the arguments given and returns the result.
Methods in this pseudo-class can be executed on call references.
Definition: Pseudo_QC_Callref.dox.h:6
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3