Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlJSScope::JavaScriptIdentifier Struct Reference

#include <qqmljsscope_p.h>

+ Collaboration diagram for QQmlJSScope::JavaScriptIdentifier:

Public Types

enum  Kind { Parameter , FunctionScoped , LexicalScoped , Injected }
 

Public Attributes

Kind kind = FunctionScoped
 
QQmlJS::SourceLocation location
 
std::optional< QStringtypeName
 
bool isConst = false
 
QQmlJSScope::WeakConstPtr scope = {}
 

Detailed Description

Definition at line 268 of file qqmljsscope_p.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Parameter 
FunctionScoped 
LexicalScoped 
Injected 

Definition at line 270 of file qqmljsscope_p.h.

Member Data Documentation

◆ isConst

bool QQmlJSScope::JavaScriptIdentifier::isConst = false

Definition at line 280 of file qqmljsscope_p.h.

◆ kind

Kind QQmlJSScope::JavaScriptIdentifier::kind = FunctionScoped

Definition at line 277 of file qqmljsscope_p.h.

Referenced by QQmlJSScope::insertJSIdentifier().

◆ location

QQmlJS::SourceLocation QQmlJSScope::JavaScriptIdentifier::location

Definition at line 278 of file qqmljsscope_p.h.

◆ scope

QQmlJSScope::WeakConstPtr QQmlJSScope::JavaScriptIdentifier::scope = {}

Definition at line 281 of file qqmljsscope_p.h.

◆ typeName

std::optional<QString> QQmlJSScope::JavaScriptIdentifier::typeName

Definition at line 279 of file qqmljsscope_p.h.


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