32 #ifndef _QORE_QORECHOMPOPERATORNODE_H
34 #define _QORE_QORECHOMPOPERATORNODE_H
36 class QoreChompOperatorNode :
public QoreSingleExpressionOperatorNode<LValueOperatorNode> {
38 const QoreTypeInfo* returnTypeInfo;
44 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
46 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
47 return returnTypeInfo;
51 DLLLOCAL QoreChompOperatorNode(
const QoreProgramLocation* loc,
QoreValue exp) : QoreSingleExpressionOperatorNode<LValueOperatorNode>(loc, exp), returnTypeInfo(0) {
57 DLLLOCAL
virtual const char* getTypeName()
const {
58 return chomp_str.getBuffer();
61 DLLLOCAL
virtual bool hasEffect()
const {
65 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
66 return copyBackgroundExplicit<QoreChompOperatorNode>(xsink);
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