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
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 179 of file qqmljsscope_p.h.

Member Enumeration Documentation

◆ Kind

Enumerator
Parameter 
FunctionScoped 
LexicalScoped 
Injected 

Definition at line 181 of file qqmljsscope_p.h.

Member Data Documentation

◆ isConst

bool QQmlJSScope::JavaScriptIdentifier::isConst = false

Definition at line 191 of file qqmljsscope_p.h.

◆ kind

Kind QQmlJSScope::JavaScriptIdentifier::kind = FunctionScoped

Definition at line 188 of file qqmljsscope_p.h.

Referenced by QQmlJSScope::insertJSIdentifier().

◆ location

QQmlJS::SourceLocation QQmlJSScope::JavaScriptIdentifier::location

Definition at line 189 of file qqmljsscope_p.h.

◆ scope

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

Definition at line 192 of file qqmljsscope_p.h.

◆ typeName

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

Definition at line 190 of file qqmljsscope_p.h.


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