![]() |
Qt 6.x
The Qt SDK
|
#include <qv4compilercontext_p.h>
Public Member Functions | |
bool | isLexicallyScoped () const |
bool | requiresTDZCheck (const QQmlJS::SourceLocation &accessLocation, bool accessAcrossContextBoundaries) const |
Public Attributes | |
MemberType | type = UndefinedMember |
int | index = -1 |
QQmlJS::AST::VariableScope | scope = QQmlJS::AST::VariableScope::Var |
bool | canEscape = false |
bool | isInjected = false |
QQmlJS::AST::FunctionExpression * | function = nullptr |
QQmlJS::SourceLocation | declarationLocation |
Definition at line 159 of file qv4compilercontext_p.h.
|
inline |
Definition at line 168 of file qv4compilercontext_p.h.
References QQmlJS::AST::Var.
Referenced by requiresTDZCheck().
bool Context::Member::requiresTDZCheck | ( | const QQmlJS::SourceLocation & | accessLocation, |
bool | accessAcrossContextBoundaries | ||
) | const |
Definition at line 40 of file qv4compilercontext.cpp.
References QQmlJS::SourceLocation::begin(), declarationLocation, QQmlJS::SourceLocation::end(), isLexicallyScoped(), and QQmlJS::SourceLocation::isValid().
|
mutable |
Definition at line 163 of file qv4compilercontext_p.h.
QQmlJS::SourceLocation QV4::Compiler::Context::Member::declarationLocation |
Definition at line 166 of file qv4compilercontext_p.h.
Referenced by requiresTDZCheck().
QQmlJS::AST::FunctionExpression* QV4::Compiler::Context::Member::function = nullptr |
Definition at line 165 of file qv4compilercontext_p.h.
int QV4::Compiler::Context::Member::index = -1 |
Definition at line 161 of file qv4compilercontext_p.h.
bool QV4::Compiler::Context::Member::isInjected = false |
Definition at line 164 of file qv4compilercontext_p.h.
QQmlJS::AST::VariableScope QV4::Compiler::Context::Member::scope = QQmlJS::AST::VariableScope::Var |
Definition at line 162 of file qv4compilercontext_p.h.
MemberType QV4::Compiler::Context::Member::type = UndefinedMember |
Definition at line 160 of file qv4compilercontext_p.h.
Referenced by QV4::Compiler::Context::resolveName().