/****************************************************************************
** Meta object code from reading C++ file 'scriptabletags.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.19)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../../../../grantlee-5.3.1/templates/scriptabletags/scriptabletags.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scriptabletags.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Grantlee__ScriptableHelperFunctions_t {
    QByteArrayData data[14];
    char stringdata0[240];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Grantlee__ScriptableHelperFunctions_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Grantlee__ScriptableHelperFunctions_t qt_meta_stringdata_Grantlee__ScriptableHelperFunctions = {
    {
QT_MOC_LITERAL(0, 0, 35), // "Grantlee::ScriptableHelperFun..."
QT_MOC_LITERAL(1, 36, 16), // "markSafeFunction"
QT_MOC_LITERAL(2, 53, 8), // "QJSValue"
QT_MOC_LITERAL(3, 62, 0), // ""
QT_MOC_LITERAL(4, 63, 10), // "inputValue"
QT_MOC_LITERAL(5, 74, 37), // "ScriptableFilterExpressionCon..."
QT_MOC_LITERAL(6, 112, 4), // "name"
QT_MOC_LITERAL(7, 117, 9), // "parserObj"
QT_MOC_LITERAL(8, 127, 25), // "ScriptableNodeConstructor"
QT_MOC_LITERAL(9, 153, 11), // "callContext"
QT_MOC_LITERAL(10, 165, 29), // "ScriptableVariableConstructor"
QT_MOC_LITERAL(11, 195, 29), // "ScriptableTemplateConstructor"
QT_MOC_LITERAL(12, 225, 7), // "content"
QT_MOC_LITERAL(13, 233, 6) // "parent"

    },
    "Grantlee::ScriptableHelperFunctions\0"
    "markSafeFunction\0QJSValue\0\0inputValue\0"
    "ScriptableFilterExpressionConstructor\0"
    "name\0parserObj\0ScriptableNodeConstructor\0"
    "callContext\0ScriptableVariableConstructor\0"
    "ScriptableTemplateConstructor\0content\0"
    "parent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Grantlee__ScriptableHelperFunctions[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // methods: name, argc, parameters, tag, flags
       1,    1,   44,    3, 0x02 /* Public */,
       5,    2,   47,    3, 0x02 /* Public */,
       5,    1,   52,    3, 0x22 /* Public | MethodCloned */,
       8,    1,   55,    3, 0x02 /* Public */,
      10,    1,   58,    3, 0x02 /* Public */,
      11,    3,   61,    3, 0x02 /* Public */,

 // methods: parameters
    0x80000000 | 2, 0x80000000 | 2,    4,
    0x80000000 | 2, QMetaType::QString, QMetaType::QObjectStar,    6,    7,
    0x80000000 | 2, QMetaType::QString,    6,
    0x80000000 | 2, 0x80000000 | 2,    9,
    0x80000000 | 2, QMetaType::QString,    6,
    0x80000000 | 2, QMetaType::QString, QMetaType::QString, QMetaType::QObjectStar,   12,    6,   13,

       0        // eod
};

void Grantlee::ScriptableHelperFunctions::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ScriptableHelperFunctions *>(_o);
        (void)_t;
        switch (_id) {
        case 0: { QJSValue _r = _t->markSafeFunction((*reinterpret_cast< QJSValue(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QJSValue*>(_a[0]) = std::move(_r); }  break;
        case 1: { QJSValue _r = _t->ScriptableFilterExpressionConstructor((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QJSValue*>(_a[0]) = std::move(_r); }  break;
        case 2: { QJSValue _r = _t->ScriptableFilterExpressionConstructor((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QJSValue*>(_a[0]) = std::move(_r); }  break;
        case 3: { QJSValue _r = _t->ScriptableNodeConstructor((*reinterpret_cast< QJSValue(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QJSValue*>(_a[0]) = std::move(_r); }  break;
        case 4: { QJSValue _r = _t->ScriptableVariableConstructor((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QJSValue*>(_a[0]) = std::move(_r); }  break;
        case 5: { QJSValue _r = _t->ScriptableTemplateConstructor((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QObject*(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QJSValue*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Grantlee::ScriptableHelperFunctions::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Grantlee__ScriptableHelperFunctions.data,
    qt_meta_data_Grantlee__ScriptableHelperFunctions,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *Grantlee::ScriptableHelperFunctions::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Grantlee::ScriptableHelperFunctions::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Grantlee__ScriptableHelperFunctions.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Grantlee::ScriptableHelperFunctions::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}
struct qt_meta_stringdata_Grantlee__ScriptableTagLibrary_t {
    QByteArrayData data[7];
    char stringdata0[84];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Grantlee__ScriptableTagLibrary_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Grantlee__ScriptableTagLibrary_t qt_meta_stringdata_Grantlee__ScriptableTagLibrary = {
    {
QT_MOC_LITERAL(0, 0, 30), // "Grantlee::ScriptableTagLibrary"
QT_MOC_LITERAL(1, 31, 10), // "addFactory"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 11), // "factoryName"
QT_MOC_LITERAL(4, 55, 7), // "tagname"
QT_MOC_LITERAL(5, 63, 9), // "addFilter"
QT_MOC_LITERAL(6, 73, 10) // "filterName"

    },
    "Grantlee::ScriptableTagLibrary\0"
    "addFactory\0\0factoryName\0tagname\0"
    "addFilter\0filterName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Grantlee__ScriptableTagLibrary[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x0a /* Public */,
       5,    1,   29,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::QString,    6,

       0        // eod
};

void Grantlee::ScriptableTagLibrary::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ScriptableTagLibrary *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->addFactory((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->addFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Grantlee::ScriptableTagLibrary::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Grantlee__ScriptableTagLibrary.data,
    qt_meta_data_Grantlee__ScriptableTagLibrary,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *Grantlee::ScriptableTagLibrary::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Grantlee::ScriptableTagLibrary::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Grantlee__ScriptableTagLibrary.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "TagLibraryInterface"))
        return static_cast< TagLibraryInterface*>(this);
    if (!strcmp(_clname, "org.grantlee.TagLibraryInterface/1.0"))
        return static_cast< Grantlee::TagLibraryInterface*>(this);
    return QObject::qt_metacast(_clname);
}

int Grantlee::ScriptableTagLibrary::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}

QT_PLUGIN_METADATA_SECTION
static constexpr unsigned char qt_pluginMetaData[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
    // metadata version, Qt version, architectural requirements
    0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
    0xbf, 
    // "IID"
    0x02,  0x78,  0x20,  'o',  'r',  'g',  '.',  'g', 
    'r',  'a',  'n',  't',  'l',  'e',  'e',  '.', 
    'T',  'a',  'g',  'L',  'i',  'b',  'r',  'a', 
    'r',  'y',  'I',  'n',  't',  'e',  'r',  'f', 
    'a',  'c',  'e', 
    // "className"
    0x03,  0x74,  'S',  'c',  'r',  'i',  'p',  't', 
    'a',  'b',  'l',  'e',  'T',  'a',  'g',  'L', 
    'i',  'b',  'r',  'a',  'r',  'y', 
    0xff, 
};
using namespace Grantlee;
QT_MOC_EXPORT_PLUGIN(Grantlee::ScriptableTagLibrary, ScriptableTagLibrary)

QT_WARNING_POP
QT_END_MOC_NAMESPACE
