Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::Compiler::Context::ResolvedName Struct Reference

#include <qv4compilercontext_p.h>

Collaboration diagram for QV4::Compiler::Context::ResolvedName:

Public Types

enum  Type {
  Unresolved , QmlGlobal , Global , Local ,
  Stack , Import
}

Public Member Functions

bool isValid () const

Public Attributes

Type type = Unresolved
Context::MemberType memberType = UndefinedMember
bool isArgOrEval = false
bool isConst = false
bool requiresTDZCheck = false
bool isInjected = false
int scope = -1
int index = -1
QQmlJS::SourceLocation declarationLocation

Detailed Description

Definition at line 330 of file qv4compilercontext_p.h.

Member Enumeration Documentation

◆ Type

enum QV4::Compiler::Context::ResolvedName::Type
Enumerator
Unresolved 
QmlGlobal 
Global 
Local 
Stack 
Import 

Definition at line 331 of file qv4compilercontext_p.h.

Member Function Documentation

◆ isValid()

bool QV4::Compiler::Context::ResolvedName::isValid ( ) const
inline

Definition at line 348 of file qv4compilercontext_p.h.

References type, and Unresolved.

Member Data Documentation

◆ declarationLocation

QQmlJS::SourceLocation QV4::Compiler::Context::ResolvedName::declarationLocation

Definition at line 347 of file qv4compilercontext_p.h.

◆ index

int QV4::Compiler::Context::ResolvedName::index = -1

Definition at line 346 of file qv4compilercontext_p.h.

Referenced by QV4::Compiler::Context::resolveName().

◆ isArgOrEval

bool QV4::Compiler::Context::ResolvedName::isArgOrEval = false

Definition at line 341 of file qv4compilercontext_p.h.

Referenced by QV4::Compiler::Context::resolveName().

◆ isConst

bool QV4::Compiler::Context::ResolvedName::isConst = false

Definition at line 342 of file qv4compilercontext_p.h.

Referenced by QV4::Compiler::Context::resolveName().

◆ isInjected

bool QV4::Compiler::Context::ResolvedName::isInjected = false

Definition at line 344 of file qv4compilercontext_p.h.

Referenced by QV4::Compiler::Context::resolveName().

◆ memberType

Context::MemberType QV4::Compiler::Context::ResolvedName::memberType = UndefinedMember

Definition at line 340 of file qv4compilercontext_p.h.

Referenced by QV4::Compiler::Context::resolveName().

◆ requiresTDZCheck

bool QV4::Compiler::Context::ResolvedName::requiresTDZCheck = false

Definition at line 343 of file qv4compilercontext_p.h.

Referenced by QV4::Compiler::Context::resolveName().

◆ scope

int QV4::Compiler::Context::ResolvedName::scope = -1

Definition at line 345 of file qv4compilercontext_p.h.

Referenced by QV4::Compiler::Context::resolveName().

◆ type

Type QV4::Compiler::Context::ResolvedName::type = Unresolved

Definition at line 339 of file qv4compilercontext_p.h.

Referenced by isValid(), and QV4::Compiler::Context::resolveName().


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