![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qv4qmlcontext_p.h"#include <private/qjsvalue_p.h>#include <private/qqmlcontext_p.h>#include <private/qqmlengine_p.h>#include <private/qqmlglobal_p.h>#include <private/qqmljavascriptexpression_p.h>#include <private/qqmllistwrapper_p.h>#include <private/qqmltypewrapper_p.h>#include <private/qv4compileddata_p.h>#include <private/qv4engine_p.h>#include <private/qv4function_p.h>#include <private/qv4identifiertable_p.h>#include <private/qv4lookup_p.h>#include <private/qv4mm_p.h>#include <private/qv4module_p.h>#include <private/qv4objectproto_p.h>#include <private/qv4qobjectwrapper_p.h>#include <private/qv4stackframe_p.h>#include <private/qv4value_p.h>#include <QtCore/qloggingcategory.h>Go to the source code of this file.
|
static |
Resolves the global object getter on lookup and turns it into a lookup that caches a hit in the global object. The global object cannot change, and everything searched before it is either stable or not covered by the lookup anyway. Returns false and leaves the generic global getter in place if the hit cannot be cached.
Definition at line 370 of file qv4qmlcontext.cpp.
| ReturnedValue callWithContextObject | ( | Lookup * | l, |
| ExecutionEngine * | engine, | ||
| Value * | base, | ||
| Call | c ) |
Definition at line 876 of file qv4qmlcontext.cpp.
| ReturnedValue callWithScopeObject | ( | Lookup * | l, |
| ExecutionEngine * | engine, | ||
| Value * | base, | ||
| Call | c ) |
Definition at line 832 of file qv4qmlcontext.cpp.
| DEFINE_MANAGED_VTABLE | ( | QmlContext | ) |
|
static |
Definition at line 120 of file qv4qmlcontext.cpp.
|
static |
Definition at line 380 of file qv4qmlcontext.cpp.
| bool performLookup | ( | ScopedValue * | result, |
| bool * | hasProperty, | ||
| const Lookup & | lookup ) |
Definition at line 109 of file qv4qmlcontext.cpp.
| QT_BEGIN_NAMESPACE Q_STATIC_LOGGING_CATEGORY | ( | lcQmlContext | , |
| "qt.qml.context" | ) |
|
static |
Definition at line 814 of file qv4qmlcontext.cpp.
|
static |
Definition at line 806 of file qv4qmlcontext.cpp.
|
static |
Searches the contexts enclosing outer that belong to the same compilation unit as context, advancing outer to the first context beyond them. Only applies if the components of the compilation unit are bound.
Definition at line 241 of file qv4qmlcontext.cpp.
|
static |
Searches the properties and methods of the context object of context for name, and prepares lookup if it can accelerate the next access. contextGetterCall is the getter to use for properties. It is the scope object getter if scope and context object are the same.
Definition at line 314 of file qv4qmlcontext.cpp.
|
static |
Definition at line 57 of file qv4qmlcontext.cpp.
|
static |
Searches the attached properties, enums, imported scripts, types and namespaces visible in context for name.
Definition at line 190 of file qv4qmlcontext.cpp.
|
static |
Searches the module the context wrapped by resource belongs to, if any. This is what code running outside of that context can see besides the plain JavaScript properties.
Definition at line 132 of file qv4qmlcontext.cpp.
|
static |
Searches the properties and methods of scopeObject for name, and prepares lookup if it can accelerate the next access.
Definition at line 268 of file qv4qmlcontext.cpp.
|
static |
Prepares lookup to return the singleton type.
Definition at line 155 of file qv4qmlcontext.cpp.
|
static |
Definition at line 824 of file qv4qmlcontext.cpp.