32 #ifndef _QORE_QORETRANSLITERATIONOPERATORNODE_H
34 #define _QORE_QORETRANSLITERATIONOPERATORNODE_H
36 class QoreTransliterationOperatorNode :
public QoreSingleExpressionOperatorNode<LValueOperatorNode> {
39 DLLLOCAL QoreTransliterationOperatorNode(
const QoreProgramLocation* loc,
QoreValue exp, QoreTransliteration* r)
40 : QoreSingleExpressionOperatorNode<LValueOperatorNode>(loc, exp), regex(r) {
43 DLLLOCAL
virtual const QoreTypeInfo* getTypeInfo()
const {
47 DLLLOCAL
virtual bool hasEffect()
const {
51 DLLLOCAL
virtual QoreOperatorNode* copyBackground(
ExceptionSink* xsink)
const {
52 ValueHolder n_exp(copy_value_and_resolve_lvar_refs(exp, xsink), xsink);
55 return new QoreTransliterationOperatorNode(loc, n_exp.release(), regex->refSelf());
59 const QoreTypeInfo* typeInfo =
nullptr;
64 DLLLOCAL
virtual int parseInitImpl(
QoreValue& val, QoreParseContext& parse_context);
container for holding Qore-language exception information and also for registering a "thread_exit" ca...
Definition: ExceptionSink.h:48
holds an object and dereferences it in the destructor
Definition: QoreValue.h:476
The main value class in Qore, designed to be passed by value.
Definition: QoreValue.h:275