32 #ifndef _QORE_QORELOGICALANDOPERATORNODE_H 34 #define _QORE_QORELOGICALANDOPERATORNODE_H 36 class QoreLogicalAndOperatorNode :
public QoreBinaryOperatorNode<> {
42 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);
44 DLLLOCAL
virtual const QoreTypeInfo *getTypeInfo()
const {
49 DLLLOCAL QoreLogicalAndOperatorNode(
const QoreProgramLocation* loc,
QoreValue left,
QoreValue right) : QoreBinaryOperatorNode<>(loc, left, right) {
55 return &logical_and_str;
59 str.
concat(&logical_and_str);
64 DLLLOCAL
virtual const char* getTypeName()
const {
65 return logical_and_str.getBuffer();
68 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink *xsink)
const {
69 return copyBackgroundExplicit<QoreLogicalAndOperatorNode>(xsink);
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:81
DLLEXPORT void concat(const QoreString *str, ExceptionSink *xsink)
concatenates a string and converts encodings if necessary
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:262
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:46