Qore Programming Language Reference Manual  0.8.9
 All Classes Namespaces Functions Variables Groups Pages
Pseudo_QC_Callref.dox.h
1 namespace Qore {
4 
5 class <callref> : public <value> {
6 
7 public:
9 
20 bool callp();
21 
22 public:
24 
28 any exec( ...);
29 
30 public:
32 
46 int typeCode();
47 
48 public:
50 
64 bool val();
65 };
66 };
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:5
int typeCode()
Returns Qore::NT_CALLREF.
bool val()
Returns True.
any exec(...)
Evaluates the code with the arguments given and returns the result.
bool callp()
Returns True because this is a callable type.
Methods in this pseudo-class can be executed on call references.
Definition: Pseudo_QC_Callref.dox.h:5