![]() |
Qt 6.x
The Qt SDK
|
#include <qqmljsast_p.h>
Public Attributes | |
SourceLocation | identifierToken |
QStringView | bindingIdentifier |
ExpressionNode * | bindingTarget = nullptr |
ExpressionNode * | initializer = nullptr |
Type | type = Literal |
TypeAnnotation * | typeAnnotation = nullptr |
VariableScope | scope = VariableScope::NoScope |
bool | isForDeclaration = false |
bool | isInjectedSignalParameter = false |
![]() | |
int | kind = Kind_Undefined |
Additional Inherited Members | |
![]() | |
static void | accept (Node *node, BaseVisitor *visitor) |
Definition at line 875 of file qqmljsast_p.h.
Enumerator | |
---|---|
Literal | |
Method | |
Getter | |
Setter | |
SpreadElement | |
RestElement | |
Binding |
Definition at line 880 of file qqmljsast_p.h.
|
inline |
Definition at line 895 of file qqmljsast_p.h.
|
inline |
Definition at line 899 of file qqmljsast_p.h.
References Q_ASSERT.
|
inline |
Definition at line 907 of file qqmljsast_p.h.
References Q_ASSERT.
|
overridevirtual |
Implements QQmlJS::AST::Node.
Reimplemented in QQmlJS::AST::PatternProperty.
Definition at line 1404 of file qqmljsast.cpp.
References QQmlJS::AST::Node::accept(), bindingTarget, initializer, and typeAnnotation.
|
virtual |
Reimplemented in QQmlJS::AST::PatternProperty.
Definition at line 1415 of file qqmljsast.cpp.
References bindingIdentifier, bindingTarget, QQmlJS::AST::BoundName::Declared, e, elementList(), firstSourceLocation(), QQmlJS::AST::BoundName::Injected, isInjectedSignalParameter, propertyList(), QStringView::toString(), and typeAnnotation.
Referenced by QQmlJS::AST::PatternProperty::boundNames(), QQmlJSImportVisitor::visit(), and QV4::Compiler::ScanFunctions::visit().
|
virtual |
Reimplemented in QQmlJS::AST::PatternProperty.
Definition at line 410 of file qqmljsast.cpp.
References QSOperator::Assign, Binding, bindingIdentifier, bindingTarget, errorMessage(), QString::fromLatin1(), i, identifierToken, init(), initializer, QStringView::isNull(), QQmlJS::AST::LeftHandSideExpression::leftHandSideExpressionCast(), Literal, QQmlJS::AST::Node::patternCast(), pool, Q_ASSERT, and SpreadElement.
Referenced by QQmlJS::AST::PatternProperty::convertLiteralToAssignmentPattern().
|
inline |
Definition at line 924 of file qqmljsast_p.h.
References QQmlJS::AST::Pattern::patternCast().
Referenced by QV4::Compiler::ScanFunctions::visit().
|
inline |
Definition at line 923 of file qqmljsast_p.h.
|
inline |
Definition at line 925 of file qqmljsast_p.h.
Referenced by boundNames().
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Reimplemented in QQmlJS::AST::PatternProperty.
Definition at line 917 of file qqmljsast_p.h.
References QQmlJS::SourceLocation::isValid().
Referenced by boundNames(), QQmlJS::AST::FormalParameterList::firstSourceLocation(), and QV4::Compiler::ScanFunctions::visit().
|
inline |
Definition at line 929 of file qqmljsast_p.h.
Referenced by QV4::Compiler::Codegen::variableDeclaration().
|
inline |
Definition at line 928 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::Rewriter::visit(), QQmlJSImportVisitor::visit(), and QV4::Compiler::ScanFunctions::visit().
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Reimplemented in QQmlJS::AST::PatternProperty.
Definition at line 920 of file qqmljsast_p.h.
Referenced by QV4::Compiler::ScanFunctions::visit().
|
inline |
Definition at line 926 of file qqmljsast_p.h.
References o.
Referenced by boundNames().
QStringView QQmlJS::AST::PatternElement::bindingIdentifier |
Definition at line 935 of file qqmljsast_p.h.
Referenced by QV4::Compiler::ControlFlowCatch::~ControlFlowCatch(), boundNames(), convertLiteralToAssignmentPattern(), QQmlJS::Dom::QQmlDomAstCreator::endVisitHelper(), QV4::Compiler::ScanFunctions::visit(), QQmlJSImportVisitor::visit(), and QQmlJSImportVisitor::visit().
ExpressionNode* QQmlJS::AST::PatternElement::bindingTarget = nullptr |
Definition at line 936 of file qqmljsast_p.h.
Referenced by accept0(), QQmlJS::AST::PatternProperty::accept0(), boundNames(), convertLiteralToAssignmentPattern(), QQmlJS::Dom::QQmlDomAstCreator::endVisitHelper(), QQmlJS::Dom::Rewriter::visit(), and QQmlJS::Dom::Rewriter::visit().
SourceLocation QQmlJS::AST::PatternElement::identifierToken |
Definition at line 934 of file qqmljsast_p.h.
Referenced by convertLiteralToAssignmentPattern(), QQmlJS::Dom::QQmlDomAstCreator::endVisitHelper(), QQmlJS::AST::ExpressionNode::reparseAsFormalParameterList(), QQmlJS::Dom::Rewriter::visit(), and QV4::Compiler::ScanFunctions::visit().
ExpressionNode* QQmlJS::AST::PatternElement::initializer = nullptr |
Definition at line 937 of file qqmljsast_p.h.
Referenced by accept0(), QQmlJS::AST::PatternProperty::accept0(), convertLiteralToAssignmentPattern(), QQmlJS::Dom::QQmlDomAstCreator::endVisitHelper(), QV4::Compiler::Codegen::variableDeclaration(), QQmlJS::Dom::Rewriter::visit(), QQmlJS::Dom::Rewriter::visit(), and QV4::Compiler::ScanFunctions::visit().
bool QQmlJS::AST::PatternElement::isForDeclaration = false |
Definition at line 942 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::Rewriter::visit(), and QV4::Compiler::ScanFunctions::visit().
bool QQmlJS::AST::PatternElement::isInjectedSignalParameter = false |
Definition at line 943 of file qqmljsast_p.h.
Referenced by boundNames().
VariableScope QQmlJS::AST::PatternElement::scope = VariableScope::NoScope |
Definition at line 941 of file qqmljsast_p.h.
Referenced by QQmlJS::AST::VariableDeclarationList::finish(), QQmlJS::Dom::Rewriter::visit(), QQmlJS::Dom::Rewriter::visit(), QQmlJSImportVisitor::visit(), and QV4::Compiler::ScanFunctions::visit().
Definition at line 938 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::Rewriter::visit(), and QQmlJS::Dom::Rewriter::visit().
TypeAnnotation* QQmlJS::AST::PatternElement::typeAnnotation = nullptr |
Definition at line 939 of file qqmljsast_p.h.
Referenced by accept0(), QQmlJS::AST::PatternProperty::accept0(), boundNames(), QQmlJS::Dom::QQmlDomAstCreator::endVisitHelper(), and QQmlJSImportVisitor::visit().