/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.15.2
 *
 * Copyright (c) 2023 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of QScintilla.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQsci.h"

#line 24 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/sip/qscilexeravs.sip"
#include <Qsci/qscilexeravs.h>
#line 29 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"

#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qsettings.sip"
#include <qsettings.h>
#line 36 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 24 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 39 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qfont.sip"
#include <qfont.h>
#line 42 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtGui/qcolor.sip"
#include <qcolor.h>
#line 45 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 24 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/sip/qsciabstractapis.sip"
#include <Qsci/qsciabstractapis.h>
#line 48 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 24 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/sip/qsciscintilla.sip"
#include <Qsci/qsciscintilla.h>
#line 51 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 54 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 59 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 62 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 65 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 277 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 254 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 71 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 74 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 28 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 30 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 80 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 135 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 83 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 154 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 88 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 91 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 94 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 25 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 97 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 100 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"
#line 26 "/usr/lib/python3.14/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 103 "/build/qscintilla/src/QScintilla_src-2.14.1/Python/build/Qsci/sipQsciQsciLexerAVS.cpp"


class sipQsciLexerAVS : public ::QsciLexerAVS
{
public:
    sipQsciLexerAVS(::QObject*);
    virtual ~sipQsciLexerAVS();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void setFoldCompact(bool) SIP_OVERRIDE;
    void setFoldComments(bool) SIP_OVERRIDE;
    void disconnectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void connectNotify(const ::QMetaMethod&) SIP_OVERRIDE;
    void customEvent(::QEvent*) SIP_OVERRIDE;
    void childEvent(::QChildEvent*) SIP_OVERRIDE;
    void timerEvent(::QTimerEvent*) SIP_OVERRIDE;
    bool eventFilter(::QObject*, ::QEvent*) SIP_OVERRIDE;
    bool event(::QEvent*) SIP_OVERRIDE;
    const char* language() const SIP_OVERRIDE;
    const char* lexer() const SIP_OVERRIDE;
    int lexerId() const SIP_OVERRIDE;
    const char* autoCompletionFillups() const SIP_OVERRIDE;
    ::QStringList autoCompletionWordSeparators() const SIP_OVERRIDE;
    const char* blockEnd(int*) const SIP_OVERRIDE;
    int blockLookback() const SIP_OVERRIDE;
    const char* blockStart(int*) const SIP_OVERRIDE;
    const char* blockStartKeyword(int*) const SIP_OVERRIDE;
    int braceStyle() const SIP_OVERRIDE;
    bool caseSensitive() const SIP_OVERRIDE;
    ::QColor color(int) const SIP_OVERRIDE;
    bool eolFill(int) const SIP_OVERRIDE;
    ::QFont font(int) const SIP_OVERRIDE;
    int indentationGuideView() const SIP_OVERRIDE;
    const char* keywords(int) const SIP_OVERRIDE;
    ::QString description(int) const SIP_OVERRIDE;
    ::QColor paper(int) const SIP_OVERRIDE;
    ::QColor defaultColor(int) const SIP_OVERRIDE;
    bool defaultEolFill(int) const SIP_OVERRIDE;
    ::QFont defaultFont(int) const SIP_OVERRIDE;
    ::QColor defaultPaper(int) const SIP_OVERRIDE;
    int defaultStyle() const SIP_OVERRIDE;
    void refreshProperties() SIP_OVERRIDE;
    int styleBitsNeeded() const SIP_OVERRIDE;
    const char* wordCharacters() const SIP_OVERRIDE;
    void setAutoIndentStyle(int) SIP_OVERRIDE;
    void setColor(const ::QColor&, int) SIP_OVERRIDE;
    void setEolFill(bool, int) SIP_OVERRIDE;
    void setFont(const ::QFont&, int) SIP_OVERRIDE;
    void setPaper(const ::QColor&, int) SIP_OVERRIDE;
    bool readProperties(::QSettings&, const ::QString&) SIP_OVERRIDE;
    bool writeProperties(::QSettings&, const ::QString&) const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQsciLexerAVS(const sipQsciLexerAVS &);
    sipQsciLexerAVS &operator = (const sipQsciLexerAVS &);

    char sipPyMethods[42];
};

sipQsciLexerAVS::sipQsciLexerAVS(::QObject*a0): ::QsciLexerAVS(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQsciLexerAVS::~sipQsciLexerAVS()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQsciLexerAVS::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_Qsci_qt_metaobject(sipPySelf, sipType_QsciLexerAVS);

    return ::QsciLexerAVS::metaObject();
}

int sipQsciLexerAVS::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ::QsciLexerAVS::qt_metacall(_c, _id, _a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_Qsci_qt_metacall(sipPySelf, sipType_QsciLexerAVS, _c, _id, _a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQsciLexerAVS::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_Qsci_qt_metacast(sipPySelf, sipType_QsciLexerAVS, _clname, &sipCpp) ? sipCpp : ::QsciLexerAVS::qt_metacast(_clname));
}

void sipQsciLexerAVS::setFoldCompact(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, SIP_NULLPTR, sipName_setFoldCompact);

    if (!sipMeth)
    {
        ::QsciLexerAVS::setFoldCompact(a0);
        return;
    }

    extern void sipVH_Qsci_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_Qsci_31(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexerAVS::setFoldComments(bool a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_setFoldComments);

    if (!sipMeth)
    {
        ::QsciLexerAVS::setFoldComments(a0);
        return;
    }

    extern void sipVH_Qsci_31(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    sipVH_Qsci_31(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexerAVS::disconnectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
        ::QsciLexerAVS::disconnectNotify(a0);
        return;
    }

    extern void sipVH_Qsci_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);

    sipVH_Qsci_38(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexerAVS::connectNotify(const ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
        ::QsciLexerAVS::connectNotify(a0);
        return;
    }

    extern void sipVH_Qsci_38(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QMetaMethod&);

    sipVH_Qsci_38(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexerAVS::customEvent(::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
        ::QsciLexerAVS::customEvent(a0);
        return;
    }

    extern void sipVH_Qsci_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);

    sipVH_Qsci_11(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexerAVS::childEvent(::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
        ::QsciLexerAVS::childEvent(a0);
        return;
    }

    extern void sipVH_Qsci_37(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QChildEvent*);

    sipVH_Qsci_37(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexerAVS::timerEvent(::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[6], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
        ::QsciLexerAVS::timerEvent(a0);
        return;
    }

    extern void sipVH_Qsci_36(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QTimerEvent*);

    sipVH_Qsci_36(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQsciLexerAVS::eventFilter(::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[7], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return ::QsciLexerAVS::eventFilter(a0, a1);

    extern bool sipVH_Qsci_35(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QObject*, ::QEvent*);

    return sipVH_Qsci_35(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQsciLexerAVS::event(::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[8], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return ::QsciLexerAVS::event(a0);

    extern bool sipVH_Qsci_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QEvent*);

    return sipVH_Qsci_2(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

const char* sipQsciLexerAVS::language() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[9]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_language);

    if (!sipMeth)
        return ::QsciLexerAVS::language();

    extern const char* sipVH_Qsci_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_65(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -353);
}

const char* sipQsciLexerAVS::lexer() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[10]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_lexer);

    if (!sipMeth)
        return ::QsciLexerAVS::lexer();

    extern const char* sipVH_Qsci_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_65(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -354);
}

int sipQsciLexerAVS::lexerId() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[11]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_lexerId);

    if (!sipMeth)
        return ::QsciLexerAVS::lexerId();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexerAVS::autoCompletionFillups() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[12]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_autoCompletionFillups);

    if (!sipMeth)
        return ::QsciLexerAVS::autoCompletionFillups();

    extern const char* sipVH_Qsci_66(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_66(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -355);
}

::QStringList sipQsciLexerAVS::autoCompletionWordSeparators() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[13]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_autoCompletionWordSeparators);

    if (!sipMeth)
        return ::QsciLexerAVS::autoCompletionWordSeparators();

    extern ::QStringList sipVH_Qsci_67(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_67(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexerAVS::blockEnd(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[14]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockEnd);

    if (!sipMeth)
        return ::QsciLexerAVS::blockEnd(a0);

    extern const char* sipVH_Qsci_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*, int);

    return sipVH_Qsci_68(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -356);
}

int sipQsciLexerAVS::blockLookback() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[15]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockLookback);

    if (!sipMeth)
        return ::QsciLexerAVS::blockLookback();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexerAVS::blockStart(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[16]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockStart);

    if (!sipMeth)
        return ::QsciLexerAVS::blockStart(a0);

    extern const char* sipVH_Qsci_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*, int);

    return sipVH_Qsci_68(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -357);
}

const char* sipQsciLexerAVS::blockStartKeyword(int*a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[17]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_blockStartKeyword);

    if (!sipMeth)
        return ::QsciLexerAVS::blockStartKeyword(a0);

    extern const char* sipVH_Qsci_68(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int*, int);

    return sipVH_Qsci_68(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -358);
}

int sipQsciLexerAVS::braceStyle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[18]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_braceStyle);

    if (!sipMeth)
        return ::QsciLexerAVS::braceStyle();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQsciLexerAVS::caseSensitive() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[19]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_caseSensitive);

    if (!sipMeth)
        return ::QsciLexerAVS::caseSensitive();

    extern bool sipVH_Qsci_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_7(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

::QColor sipQsciLexerAVS::color(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[20]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_color);

    if (!sipMeth)
        return ::QsciLexerAVS::color(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQsciLexerAVS::eolFill(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[21]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_eolFill);

    if (!sipMeth)
        return ::QsciLexerAVS::eolFill(a0);

    extern bool sipVH_Qsci_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_70(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QFont sipQsciLexerAVS::font(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[22]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_font);

    if (!sipMeth)
        return ::QsciLexerAVS::font(a0);

    extern ::QFont sipVH_Qsci_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_71(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQsciLexerAVS::indentationGuideView() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[23]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_indentationGuideView);

    if (!sipMeth)
        return ::QsciLexerAVS::indentationGuideView();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexerAVS::keywords(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[24]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_keywords);

    if (!sipMeth)
        return ::QsciLexerAVS::keywords(a0);

    extern const char* sipVH_Qsci_72(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int, int);

    return sipVH_Qsci_72(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, -359);
}

::QString sipQsciLexerAVS::description(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[25]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_description);

    if (!sipMeth)
        return ::QsciLexerAVS::description(a0);

    extern ::QString sipVH_Qsci_73(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_73(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QColor sipQsciLexerAVS::paper(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[26]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_paper);

    if (!sipMeth)
        return ::QsciLexerAVS::paper(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QColor sipQsciLexerAVS::defaultColor(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[27]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultColor);

    if (!sipMeth)
        return ::QsciLexerAVS::defaultColor(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQsciLexerAVS::defaultEolFill(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[28]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultEolFill);

    if (!sipMeth)
        return ::QsciLexerAVS::defaultEolFill(a0);

    extern bool sipVH_Qsci_70(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_70(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QFont sipQsciLexerAVS::defaultFont(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[29]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultFont);

    if (!sipMeth)
        return ::QsciLexerAVS::defaultFont(a0);

    extern ::QFont sipVH_Qsci_71(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_71(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QColor sipQsciLexerAVS::defaultPaper(int a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[30]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultPaper);

    if (!sipMeth)
        return ::QsciLexerAVS::defaultPaper(a0);

    extern ::QColor sipVH_Qsci_69(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_69(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

int sipQsciLexerAVS::defaultStyle() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[31]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_defaultStyle);

    if (!sipMeth)
        return ::QsciLexerAVS::defaultStyle();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQsciLexerAVS::refreshProperties()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[32], &sipPySelf, SIP_NULLPTR, sipName_refreshProperties);

    if (!sipMeth)
    {
        ::QsciLexerAVS::refreshProperties();
        return;
    }

    extern void sipVH_Qsci_47(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_Qsci_47(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQsciLexerAVS::styleBitsNeeded() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[33]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_styleBitsNeeded);

    if (!sipMeth)
        return ::QsciLexerAVS::styleBitsNeeded();

    extern int sipVH_Qsci_32(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_Qsci_32(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

const char* sipQsciLexerAVS::wordCharacters() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[34]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_wordCharacters);

    if (!sipMeth)
        return ::QsciLexerAVS::wordCharacters();

    extern const char* sipVH_Qsci_65(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    return sipVH_Qsci_65(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, -360);
}

void sipQsciLexerAVS::setAutoIndentStyle(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[35], &sipPySelf, SIP_NULLPTR, sipName_setAutoIndentStyle);

    if (!sipMeth)
    {
        ::QsciLexerAVS::setAutoIndentStyle(a0);
        return;
    }

    extern void sipVH_Qsci_48(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_Qsci_48(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQsciLexerAVS::setColor(const ::QColor& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[36], &sipPySelf, SIP_NULLPTR, sipName_setColor);

    if (!sipMeth)
    {
        ::QsciLexerAVS::setColor(a0, a1);
        return;
    }

    extern void sipVH_Qsci_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QColor&, int);

    sipVH_Qsci_74(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexerAVS::setEolFill(bool a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[37], &sipPySelf, SIP_NULLPTR, sipName_setEolFill);

    if (!sipMeth)
    {
        ::QsciLexerAVS::setEolFill(a0, a1);
        return;
    }

    extern void sipVH_Qsci_75(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool, int);

    sipVH_Qsci_75(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexerAVS::setFont(const ::QFont& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[38], &sipPySelf, SIP_NULLPTR, sipName_setFont);

    if (!sipMeth)
    {
        ::QsciLexerAVS::setFont(a0, a1);
        return;
    }

    extern void sipVH_Qsci_76(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QFont&, int);

    sipVH_Qsci_76(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQsciLexerAVS::setPaper(const ::QColor& a0, int a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[39], &sipPySelf, SIP_NULLPTR, sipName_setPaper);

    if (!sipMeth)
    {
        ::QsciLexerAVS::setPaper(a0, a1);
        return;
    }

    extern void sipVH_Qsci_74(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QColor&, int);

    sipVH_Qsci_74(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQsciLexerAVS::readProperties(::QSettings& a0, const ::QString& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[40], &sipPySelf, SIP_NULLPTR, sipName_readProperties);

    if (!sipMeth)
        return ::QsciLexerAVS::readProperties(a0, a1);

    extern bool sipVH_Qsci_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QSettings&, const ::QString&);

    return sipVH_Qsci_77(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQsciLexerAVS::writeProperties(::QSettings& a0, const ::QString& a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[41]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_writeProperties);

    if (!sipMeth)
        return ::QsciLexerAVS::writeProperties(a0, a1);

    extern bool sipVH_Qsci_77(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QSettings&, const ::QString&);

    return sipVH_Qsci_77(sipGILState, sipImportedVirtErrorHandlers_Qsci_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}


PyDoc_STRVAR(doc_QsciLexerAVS_language, "language(self) -> str");

extern "C" {static PyObject *meth_QsciLexerAVS_language(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_language(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexerAVS, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexerAVS::language() : sipCpp->language());

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_language, doc_QsciLexerAVS_language);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_lexer, "lexer(self) -> str");

extern "C" {static PyObject *meth_QsciLexerAVS_lexer(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_lexer(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexerAVS, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexerAVS::lexer() : sipCpp->lexer());

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_lexer, doc_QsciLexerAVS_lexer);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_defaultColor, "defaultColor(self, style: int) -> QColor");

extern "C" {static PyObject *meth_QsciLexerAVS_defaultColor(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_defaultColor(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexerAVS, &sipCpp, &a0))
        {
            ::QColor*sipRes;

            sipRes = new ::QColor((sipSelfWasArg ? sipCpp->::QsciLexerAVS::defaultColor(a0) : sipCpp->defaultColor(a0)));

            return sipConvertFromNewType(sipRes, sipType_QColor, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_defaultColor, doc_QsciLexerAVS_defaultColor);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_defaultFont, "defaultFont(self, style: int) -> QFont");

extern "C" {static PyObject *meth_QsciLexerAVS_defaultFont(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_defaultFont(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexerAVS, &sipCpp, &a0))
        {
            ::QFont*sipRes;

            sipRes = new ::QFont((sipSelfWasArg ? sipCpp->::QsciLexerAVS::defaultFont(a0) : sipCpp->defaultFont(a0)));

            return sipConvertFromNewType(sipRes, sipType_QFont, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_defaultFont, doc_QsciLexerAVS_defaultFont);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_keywords, "keywords(self, set: int) -> str");

extern "C" {static PyObject *meth_QsciLexerAVS_keywords(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_keywords(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexerAVS, &sipCpp, &a0))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexerAVS::keywords(a0) : sipCpp->keywords(a0));

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_keywords, doc_QsciLexerAVS_keywords);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_description, "description(self, style: int) -> str");

extern "C" {static PyObject *meth_QsciLexerAVS_description(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_description(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QsciLexerAVS, &sipCpp, &a0))
        {
            ::QString*sipRes;

            sipRes = new ::QString((sipSelfWasArg ? sipCpp->::QsciLexerAVS::description(a0) : sipCpp->description(a0)));

            return sipConvertFromNewType(sipRes, sipType_QString, SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_description, doc_QsciLexerAVS_description);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_wordCharacters, "wordCharacters(self) -> str");

extern "C" {static PyObject *meth_QsciLexerAVS_wordCharacters(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_wordCharacters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexerAVS, &sipCpp))
        {
            const char*sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexerAVS::wordCharacters() : sipCpp->wordCharacters());

            if (sipRes == SIP_NULLPTR)
            {
                Py_INCREF(Py_None);
                return Py_None;
            }

            return PyUnicode_DecodeASCII(sipRes, strlen(sipRes), SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_wordCharacters, doc_QsciLexerAVS_wordCharacters);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_braceStyle, "braceStyle(self) -> int");

extern "C" {static PyObject *meth_QsciLexerAVS_braceStyle(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_braceStyle(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexerAVS, &sipCpp))
        {
            int sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexerAVS::braceStyle() : sipCpp->braceStyle());

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_braceStyle, doc_QsciLexerAVS_braceStyle);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_refreshProperties, "refreshProperties(self)");

extern "C" {static PyObject *meth_QsciLexerAVS_refreshProperties(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_refreshProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexerAVS, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexerAVS::refreshProperties() : sipCpp->refreshProperties());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_refreshProperties, doc_QsciLexerAVS_refreshProperties);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_foldComments, "foldComments(self) -> bool");

extern "C" {static PyObject *meth_QsciLexerAVS_foldComments(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_foldComments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexerAVS, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->foldComments();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_foldComments, doc_QsciLexerAVS_foldComments);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_foldCompact, "foldCompact(self) -> bool");

extern "C" {static PyObject *meth_QsciLexerAVS_foldCompact(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_foldCompact(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QsciLexerAVS, &sipCpp))
        {
            bool sipRes;

            sipRes = sipCpp->foldCompact();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_foldCompact, doc_QsciLexerAVS_foldCompact);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_setFoldComments, "setFoldComments(self, fold: bool)");

extern "C" {static PyObject *meth_QsciLexerAVS_setFoldComments(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_setFoldComments(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QsciLexerAVS, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexerAVS::setFoldComments(a0) : sipCpp->setFoldComments(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_setFoldComments, doc_QsciLexerAVS_setFoldComments);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_setFoldCompact, "setFoldCompact(self, fold: bool)");

extern "C" {static PyObject *meth_QsciLexerAVS_setFoldCompact(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_setFoldCompact(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        bool a0;
        ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bb", &sipSelf, sipType_QsciLexerAVS, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp->::QsciLexerAVS::setFoldCompact(a0) : sipCpp->setFoldCompact(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_setFoldCompact, doc_QsciLexerAVS_setFoldCompact);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_readProperties, "readProperties(self, qs: QSettings, prefix: str|None) -> bool");

extern "C" {static PyObject *meth_QsciLexerAVS_readProperties(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_readProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        ::QSettings* a0;
        const ::QString* a1;
        int a1State = 0;
        ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_QsciLexerAVS, &sipCpp, sipType_QSettings, &a0, sipType_QString, &a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexerAVS::readProperties(*a0, *a1) : sipCpp->readProperties(*a0, *a1));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_readProperties, doc_QsciLexerAVS_readProperties);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QsciLexerAVS_writeProperties, "writeProperties(self, qs: QSettings, prefix: str|None) -> bool");

extern "C" {static PyObject *meth_QsciLexerAVS_writeProperties(PyObject *, PyObject *);}
static PyObject *meth_QsciLexerAVS_writeProperties(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QsciLexerAVS)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        ::QSettings* a0;
        const ::QString* a1;
        int a1State = 0;
        const ::QsciLexerAVS *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9J1", &sipSelf, sipType_QsciLexerAVS, &sipCpp, sipType_QSettings, &a0, sipType_QString, &a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp->::QsciLexerAVS::writeProperties(*a0, *a1) : sipCpp->writeProperties(*a0, *a1));
            sipReleaseType(const_cast< ::QString *>(a1), sipType_QString, a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QsciLexerAVS, sipName_writeProperties, doc_QsciLexerAVS_writeProperties);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QsciLexerAVS(void *, const sipTypeDef *);}
static void *cast_QsciLexerAVS(void *sipCppV, const sipTypeDef *targetType)
{
    ::QsciLexerAVS *sipCpp = reinterpret_cast< ::QsciLexerAVS *>(sipCppV);

    if (targetType == sipType_QsciLexerAVS)
        return sipCppV;

    sipCppV = ((const sipClassTypeDef *)sipType_QsciLexer)->ctd_cast(static_cast< ::QsciLexer *>(sipCpp), targetType);
    if (sipCppV)
        return sipCppV;

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QsciLexerAVS(void *, int);}
static void release_QsciLexerAVS(void *sipCppV, int)
{
    ::QsciLexerAVS *sipCpp = reinterpret_cast< ::QsciLexerAVS *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void *array_QsciLexerAVS(Py_ssize_t);}
static void *array_QsciLexerAVS(Py_ssize_t sipNrElem)
{
    return new ::QsciLexerAVS[sipNrElem];
}


extern "C" {static void array_delete_QsciLexerAVS(void *);}
static void array_delete_QsciLexerAVS(void *sipCpp)
{
    delete[] reinterpret_cast< ::QsciLexerAVS *>(sipCpp);
}


extern "C" {static void dealloc_QsciLexerAVS(sipSimpleWrapper *);}
static void dealloc_QsciLexerAVS(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQsciLexerAVS *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QsciLexerAVS(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QsciLexerAVS(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QsciLexerAVS(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQsciLexerAVS *sipCpp = SIP_NULLPTR;

    {
        ::QObject* a0 = 0;

        static const char *sipKwdList[] = {
            sipName_parent,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQsciLexerAVS(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QsciLexerAVS[] = {{8, 255, 1}};


static PyMethodDef methods_QsciLexerAVS[] = {
    {sipName_braceStyle, meth_QsciLexerAVS_braceStyle, METH_VARARGS, doc_QsciLexerAVS_braceStyle},
    {sipName_defaultColor, meth_QsciLexerAVS_defaultColor, METH_VARARGS, doc_QsciLexerAVS_defaultColor},
    {sipName_defaultFont, meth_QsciLexerAVS_defaultFont, METH_VARARGS, doc_QsciLexerAVS_defaultFont},
    {sipName_description, meth_QsciLexerAVS_description, METH_VARARGS, doc_QsciLexerAVS_description},
    {sipName_foldComments, meth_QsciLexerAVS_foldComments, METH_VARARGS, doc_QsciLexerAVS_foldComments},
    {sipName_foldCompact, meth_QsciLexerAVS_foldCompact, METH_VARARGS, doc_QsciLexerAVS_foldCompact},
    {sipName_keywords, meth_QsciLexerAVS_keywords, METH_VARARGS, doc_QsciLexerAVS_keywords},
    {sipName_language, meth_QsciLexerAVS_language, METH_VARARGS, doc_QsciLexerAVS_language},
    {sipName_lexer, meth_QsciLexerAVS_lexer, METH_VARARGS, doc_QsciLexerAVS_lexer},
    {sipName_readProperties, meth_QsciLexerAVS_readProperties, METH_VARARGS, doc_QsciLexerAVS_readProperties},
    {sipName_refreshProperties, meth_QsciLexerAVS_refreshProperties, METH_VARARGS, doc_QsciLexerAVS_refreshProperties},
    {sipName_setFoldComments, meth_QsciLexerAVS_setFoldComments, METH_VARARGS, doc_QsciLexerAVS_setFoldComments},
    {sipName_setFoldCompact, meth_QsciLexerAVS_setFoldCompact, METH_VARARGS, doc_QsciLexerAVS_setFoldCompact},
    {sipName_wordCharacters, meth_QsciLexerAVS_wordCharacters, METH_VARARGS, doc_QsciLexerAVS_wordCharacters},
    {sipName_writeProperties, meth_QsciLexerAVS_writeProperties, METH_VARARGS, doc_QsciLexerAVS_writeProperties}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QsciLexerAVS[] = {
    {sipName_Default, static_cast<int>(::QsciLexerAVS::Default)},
    {sipName_BlockComment, static_cast<int>(::QsciLexerAVS::BlockComment)},
    {sipName_NestedBlockComment, static_cast<int>(::QsciLexerAVS::NestedBlockComment)},
    {sipName_LineComment, static_cast<int>(::QsciLexerAVS::LineComment)},
    {sipName_Number, static_cast<int>(::QsciLexerAVS::Number)},
    {sipName_Operator, static_cast<int>(::QsciLexerAVS::Operator)},
    {sipName_Identifier, static_cast<int>(::QsciLexerAVS::Identifier)},
    {sipName_String, static_cast<int>(::QsciLexerAVS::String)},
    {sipName_TripleString, static_cast<int>(::QsciLexerAVS::TripleString)},
    {sipName_Keyword, static_cast<int>(::QsciLexerAVS::Keyword)},
    {sipName_Filter, static_cast<int>(::QsciLexerAVS::Filter)},
    {sipName_Plugin, static_cast<int>(::QsciLexerAVS::Plugin)},
    {sipName_Function, static_cast<int>(::QsciLexerAVS::Function)},
    {sipName_ClipProperty, static_cast<int>(::QsciLexerAVS::ClipProperty)},
    {sipName_KeywordSet6, static_cast<int>(::QsciLexerAVS::KeywordSet6)},
    {0, 0}
};

PyDoc_STRVAR(doc_QsciLexerAVS, "\1QsciLexerAVS(parent: QObject|None = None)");


static pyqt6ClassPluginDef plugin_QsciLexerAVS = {
    &::QsciLexerAVS::staticMetaObject,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_Qsci_QsciLexerAVS = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QsciLexerAVS,
        SIP_NULLPTR,
        &plugin_QsciLexerAVS,
    },
    {
        sipNameNr_QsciLexerAVS,
        {0, 0, 1},
        15, methods_QsciLexerAVS,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QsciLexerAVS, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QsciLexerAVS,
    -1,
    -1,
    supers_QsciLexerAVS,
    SIP_NULLPTR,
    init_type_QsciLexerAVS,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QsciLexerAVS,
    SIP_NULLPTR,
    array_QsciLexerAVS,
    SIP_NULLPTR,
    release_QsciLexerAVS,
    cast_QsciLexerAVS,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QsciLexerAVS,
    sizeof (::QsciLexerAVS),
};
