32 #ifndef _QORE_QORETRIMOPERATORNODE_H
34 #define _QORE_QORETRIMOPERATORNODE_H
36 class QoreTrimOperatorNode :
public QoreSingleExpressionOperatorNode<LValueOperatorNode> {
38 DLLLOCAL QoreTrimOperatorNode(
const QoreProgramLocation* loc,
QoreValue exp)
39 : QoreSingleExpressionOperatorNode<LValueOperatorNode>(loc, exp) {
47 DLLLOCAL
virtual const char *getTypeName()
const {
48 return trim_str.getBuffer();
51 DLLLOCAL
virtual bool hasEffect()
const {
55 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
56 return copyBackgroundExplicit<QoreTrimOperatorNode>(xsink);
60 const QoreTypeInfo* returnTypeInfo =
nullptr;
66 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
68 DLLLOCAL
virtual const QoreTypeInfo *getTypeInfo()
const {
69 return returnTypeInfo;
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
Qore's string type supported by the QoreEncoding class.
Definition: QoreString.h:93
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275