#include <CallReferenceNode.h>
Public Member Functions | |
virtual DLLLOCAL int | getAsString (QoreString &str, int foff, class ExceptionSink *xsink) const |
concatenate the verbose string representation of the value to an existing QoreString | |
virtual DLLLOCAL QoreString * | getAsString (bool &del, int foff, class ExceptionSink *xsink) const |
returns a QoreString giving the verbose string representation of the value | |
virtual DLLLOCAL const char * | getTypeName () const |
returns the type name as a c string | |
Protected Member Functions | |
virtual DLLLOCAL AbstractQoreNode * | evalImpl (ExceptionSink *xsink) const |
this function should never be called for function references; this function should never be called directly | |
virtual DLLLOCAL AbstractQoreNode * | evalImpl (bool &needs_deref, ExceptionSink *xsink) const |
this function should never be called for function references; this function should never be called directly | |
virtual DLLLOCAL int64 | bigIntEvalImpl (ExceptionSink *xsink) const |
this function should never be called for function references; this function should never be called directly | |
virtual DLLLOCAL int | integerEvalImpl (ExceptionSink *xsink) const |
this function should never be called for function references; this function should never be called directly | |
virtual DLLLOCAL bool | boolEvalImpl (ExceptionSink *xsink) const |
this function should never be called for function references; this function should never be called directly | |
virtual DLLLOCAL double | floatEvalImpl (ExceptionSink *xsink) const |
this function should never be called for function references; this function should never be called directly | |
DLLLOCAL | AbstractCallReferenceNode (bool n_needs_eval, bool n_there_can_be_only_one, qore_type_t n_type=NT_FUNCREF) |
protected constructor for subclasses that are not reference-counted |
cannot be a ParseNode or SimpleQoreNode because we require deref(xsink)
virtual DLLLOCAL int64 AbstractCallReferenceNode::bigIntEvalImpl | ( | ExceptionSink * | xsink | ) | const [protected, virtual] |
this function should never be called for function references; this function should never be called directly
in debug mode this function calls assert(false)
Implements AbstractQoreNode.
virtual DLLLOCAL bool AbstractCallReferenceNode::boolEvalImpl | ( | ExceptionSink * | xsink | ) | const [protected, virtual] |
this function should never be called for function references; this function should never be called directly
in debug mode this function calls assert(false)
Implements AbstractQoreNode.
virtual DLLLOCAL AbstractQoreNode* AbstractCallReferenceNode::evalImpl | ( | bool & | needs_deref, | |
ExceptionSink * | xsink | |||
) | const [protected, virtual] |
this function should never be called for function references; this function should never be called directly
in debug mode this function calls assert(false)
Implements AbstractQoreNode.
virtual DLLLOCAL AbstractQoreNode* AbstractCallReferenceNode::evalImpl | ( | ExceptionSink * | xsink | ) | const [protected, virtual] |
this function should never be called for function references; this function should never be called directly
in debug mode this function calls assert(false)
Implements AbstractQoreNode.
virtual DLLLOCAL double AbstractCallReferenceNode::floatEvalImpl | ( | ExceptionSink * | xsink | ) | const [protected, virtual] |
this function should never be called for function references; this function should never be called directly
in debug mode this function calls assert(false)
Implements AbstractQoreNode.
virtual DLLLOCAL QoreString* AbstractCallReferenceNode::getAsString | ( | bool & | del, | |
int | foff, | |||
class ExceptionSink * | xsink | |||
) | const [virtual] |
returns a QoreString giving the verbose string representation of the value
used for n and N printf formatting
del | if this is true when the function returns, then the returned QoreString pointer should be deleted, if false, then it must not be | |
foff | for multi-line formatting offset, -1 = no line breaks | |
xsink | not used by this implementation of the function NOTE: Use the QoreNodeAsStringHelper class (defined in QoreStringNode.h) instead of using this function directly |
Implements AbstractQoreNode.
virtual DLLLOCAL int AbstractCallReferenceNode::getAsString | ( | QoreString & | str, | |
int | foff, | |||
class ExceptionSink * | xsink | |||
) | const [virtual] |
concatenate the verbose string representation of the value to an existing QoreString
used for n and N printf formatting
str | the string representation of the type will be concatenated to this QoreString reference | |
foff | for multi-line formatting offset, -1 = no line breaks | |
xsink | not used by this implementation of the function |
Implements AbstractQoreNode.
virtual DLLLOCAL int AbstractCallReferenceNode::integerEvalImpl | ( | ExceptionSink * | xsink | ) | const [protected, virtual] |
this function should never be called for function references; this function should never be called directly
in debug mode this function calls assert(false)
Implements AbstractQoreNode.