Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlJSImportVisitor::WithVisibilityScope< T > Struct Template Reference

Utility wrapper that adds visibility scope to the data. More...

#include <qqmljsimportvisitor_p.h>

+ Collaboration diagram for QQmlJSImportVisitor::WithVisibilityScope< T >:

Public Attributes

QQmlJSScope::Ptr visibilityScope
 
QQmlJS::SourceLocation dataLocation
 
data
 

Detailed Description

template<typename T>
struct QQmlJSImportVisitor::WithVisibilityScope< T >

Utility wrapper that adds visibility scope to the data.

This wrapper becomes useful for binding processing where we need to know both the property (or signal handler) owner and the scope in which the binding is executed (the "visibility" scope).

As visibility scope (and data) does not typically have sufficient information about a proper source location of that data, the location also has to be provided to simplify the error reporting.

Definition at line 324 of file qqmljsimportvisitor_p.h.

Member Data Documentation

◆ data

template<typename T >
T QQmlJSImportVisitor::WithVisibilityScope< T >::data

Definition at line 328 of file qqmljsimportvisitor_p.h.

◆ dataLocation

template<typename T >
QQmlJS::SourceLocation QQmlJSImportVisitor::WithVisibilityScope< T >::dataLocation

Definition at line 327 of file qqmljsimportvisitor_p.h.

◆ visibilityScope

template<typename T >
QQmlJSScope::Ptr QQmlJSImportVisitor::WithVisibilityScope< T >::visibilityScope

Definition at line 326 of file qqmljsimportvisitor_p.h.


The documentation for this struct was generated from the following file: