Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qqmljslookupsignatures.cpp File Reference

(46433e4b08fc5c34c269026df27a5b38f7c9b28f)

#include "qqmljslookupsignatures_p.h"
#include <private/qqmljstyperesolver_p.h>
Include dependency graph for qqmljslookupsignatures.cpp:

Go to the source code of this file.

Macros

#define CHECKED_OPT_ASSIGN(var, expr)

Functions

static QQmlJSMetaMethod::RelativeFunctionIndex methodIndex (const QQmlJSMetaMethod &m)
static int ownRegularMethodCountBeforeIndex (const QQmlJSScope::ConstPtr &type, int index)
static int ownSignalCountAfterIndex (const QQmlJSScope::ConstPtr &type, int index)
static int ownAliasCountBeforeIndex (const QQmlJSScope::ConstPtr &type, int index)
static int ownRegularPropertyCountAfterIndex (const QQmlJSScope::ConstPtr &type, int index)

Macro Definition Documentation

◆ CHECKED_OPT_ASSIGN

#define CHECKED_OPT_ASSIGN ( var,
expr )
Value:
{ \
const auto opt = expr; \
if (!opt.has_value()) \
return false; \
var = opt.value(); \
}

Definition at line 21 of file qqmljslookupsignatures.cpp.

Function Documentation

◆ methodIndex()

Definition at line 97 of file qqmljslookupsignatures.cpp.

◆ ownAliasCountBeforeIndex()

int ownAliasCountBeforeIndex ( const QQmlJSScope::ConstPtr & type,
int index )
static

Definition at line 125 of file qqmljslookupsignatures.cpp.

◆ ownRegularMethodCountBeforeIndex()

int ownRegularMethodCountBeforeIndex ( const QQmlJSScope::ConstPtr & type,
int index )
static

Definition at line 104 of file qqmljslookupsignatures.cpp.

◆ ownRegularPropertyCountAfterIndex()

int ownRegularPropertyCountAfterIndex ( const QQmlJSScope::ConstPtr & type,
int index )
static

Definition at line 134 of file qqmljslookupsignatures.cpp.

◆ ownSignalCountAfterIndex()

int ownSignalCountAfterIndex ( const QQmlJSScope::ConstPtr & type,
int index )
static

Definition at line 115 of file qqmljslookupsignatures.cpp.