Qt 6.x
The Qt SDK
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 315 of file qqmljsimportvisitor_p.h.

Member Data Documentation

◆ data

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

Definition at line 319 of file qqmljsimportvisitor_p.h.

◆ dataLocation

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

Definition at line 318 of file qqmljsimportvisitor_p.h.

◆ visibilityScope

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

Definition at line 317 of file qqmljsimportvisitor_p.h.


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