![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#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 161 of file qv4compilercontext_p.h.
|
inline |
Definition at line 170 of file qv4compilercontext_p.h.
Referenced by requiresTDZCheck().
bool Context::Member::requiresTDZCheck | ( | const QQmlJS::SourceLocation & | accessLocation, |
bool | accessAcrossContextBoundaries ) const |
Definition at line 40 of file qv4compilercontext.cpp.
References isLexicallyScoped().
|
mutable |
Definition at line 165 of file qv4compilercontext_p.h.
Referenced by QV4::Compiler::Context::resolveName().
QQmlJS::SourceLocation QV4::Compiler::Context::Member::declarationLocation |
Definition at line 168 of file qv4compilercontext_p.h.
QQmlJS::AST::FunctionExpression* QV4::Compiler::Context::Member::function = nullptr |
Definition at line 167 of file qv4compilercontext_p.h.
int QV4::Compiler::Context::Member::index = -1 |
Definition at line 163 of file qv4compilercontext_p.h.
Referenced by QV4::Compiler::Context::resolveName().
bool QV4::Compiler::Context::Member::isInjected = false |
Definition at line 166 of file qv4compilercontext_p.h.
Referenced by QV4::Compiler::Context::addLocalVar(), and QV4::Compiler::Context::resolveName().
QQmlJS::AST::VariableScope QV4::Compiler::Context::Member::scope = QQmlJS::AST::VariableScope::Var |
Definition at line 164 of file qv4compilercontext_p.h.
MemberType QV4::Compiler::Context::Member::type = UndefinedMember |
Definition at line 162 of file qv4compilercontext_p.h.
Referenced by QV4::Compiler::Context::addLocalVar(), and QV4::Compiler::Context::resolveName().