![]() |
Qt 6.x
The Qt SDK
|
#include <qqmljsast_p.h>
Inheritance diagram for QQmlJS::AST::ArrayPattern:
Collaboration diagram for QQmlJS::AST::ArrayPattern:Public Attributes | |
| PatternElementList * | elements = nullptr |
| SourceLocation | lbracketToken |
| SourceLocation | commaToken |
| SourceLocation | rbracketToken |
Public Attributes inherited from QQmlJS::AST::Pattern | |
| ParseMode | parseMode = Literal |
Public Attributes inherited from QQmlJS::AST::Node | |
| int | kind = Kind_Undefined |
Definition at line 729 of file qqmljsast_p.h.
|
inline |
Definition at line 734 of file qqmljsast_p.h.
|
overridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 285 of file qqmljsast.cpp.
References QQmlJS::AST::Node::accept(), and elements.
Here is the call graph for this function:
|
overridevirtual |
Implements QQmlJS::AST::Pattern.
Definition at line 379 of file qqmljsast.cpp.
References QQmlJS::AST::Pattern::Binding, elements, errorMessage(), QString::fromLatin1(), it, QQmlJS::AST::Pattern::parseMode, pool, and QQmlJS::AST::PatternElement::SpreadElement.
Here is the call graph for this function:
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 740 of file qqmljsast_p.h.
| bool QQmlJS::AST::ArrayPattern::isValidArrayLiteral | ( | SourceLocation * | errorLocation = nullptr | ) | const |
Definition at line 293 of file qqmljsast.cpp.
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 743 of file qqmljsast_p.h.
| SourceLocation QQmlJS::AST::ArrayPattern::commaToken |
Definition at line 753 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::Rewriter::visit().
| PatternElementList* QQmlJS::AST::ArrayPattern::elements = nullptr |
Definition at line 751 of file qqmljsast_p.h.
Referenced by accept0(), convertLiteralToAssignmentPattern(), QQmlJS::Dom::QQmlDomAstCreator::endVisit(), isValidArrayLiteral(), QQmlJS::Dom::Rewriter::visit(), QV4::Compiler::ScanFunctions::visit(), and QV4::Compiler::Codegen::visit().
| SourceLocation QQmlJS::AST::ArrayPattern::lbracketToken |
Definition at line 752 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::QQmlDomAstCreator::endVisit(), and QQmlJS::Dom::Rewriter::visit().
| SourceLocation QQmlJS::AST::ArrayPattern::rbracketToken |
Definition at line 754 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::QQmlDomAstCreator::endVisit(), and QQmlJS::Dom::Rewriter::visit().