| Qore Programming Language Reference Manual 2.2.0

Loading...
Searching...
No Matches
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
61 string uniqueHash();
62
63 public:
65
79 bool val();
80};
81}
<callref>
Methods in this pseudo-class can be executed on call references.
Definition Pseudo_QC_Callref.dox.h:6
<callref>::exec
auto exec(...)
Evaluates the code with the arguments given and returns the result.
<callref>::callp
bool callp()
Returns True because this is a callable type.
<callref>::typeCode
int typeCode()
Returns Qore::NT_CALLREF.
<callref>::uniqueHash
string uniqueHash()
Return a unique string for the call reference or closure independent of the target.
<callref>::val
bool val()
Returns True.
<value>
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
Qore
main Qore-language namespace
Definition Pseudo_QC_All.dox.h:3