32 #ifndef _QORE_QOREEXISTSOPERATORNODE_H
34 #define _QORE_QOREEXISTSOPERATORNODE_H
36 class QoreExistsOperatorNode :
public QoreSingleValueExpressionOperatorNode<QoreOperatorNode> {
42 DLLLOCAL
virtual void parseInitImpl(
QoreValue& val, LocalVar* oflag,
int pflag,
int& lvids,
const QoreTypeInfo*& typeInfo);
45 DLLLOCAL QoreExistsOperatorNode(
const QoreProgramLocation* loc,
QoreValue exp) : QoreSingleValueExpressionOperatorNode<QoreOperatorNode>(loc, exp) {
52 DLLLOCAL
virtual const char* getTypeName()
const {
53 return Exists_str.getBuffer();
56 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
60 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
61 return copyBackgroundExplicit<QoreExistsOperatorNode>(xsink);