Qore Programming Language Reference Manual 0.8.8

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

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 };
<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:5
<callref>::typeCode
int typeCode()
Returns Qore::NT_CALLREF.
<callref>::val
bool val()
Returns True.
<callref>::exec
any 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>
Methods in this pseudo-class can be executed on call references.
Definition: Pseudo_QC_Callref.dox.h:5