Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qqmljsast_p.h>
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 731 of file qqmljsast_p.h.
|
inline |
Definition at line 736 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.
|
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.
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 742 of file qqmljsast_p.h.
bool QQmlJS::AST::ArrayPattern::isValidArrayLiteral | ( | SourceLocation * | errorLocation = nullptr | ) | const |
Definition at line 293 of file qqmljsast.cpp.
References QQmlJS::AST::PatternElement::bindingTarget, elements, QQmlJS::AST::PatternElement::firstSourceLocation(), and it.
|
inlineoverridevirtual |
Implements QQmlJS::AST::Node.
Definition at line 745 of file qqmljsast_p.h.
SourceLocation QQmlJS::AST::ArrayPattern::commaToken |
Definition at line 755 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::ScriptFormatter::visit().
PatternElementList* QQmlJS::AST::ArrayPattern::elements = nullptr |
Definition at line 753 of file qqmljsast_p.h.
Referenced by accept0(), convertLiteralToAssignmentPattern(), isValidArrayLiteral(), QQmlJS::Dom::ScriptFormatter::visit(), QV4::Compiler::ScanFunctions::visit(), and QV4::Compiler::Codegen::visit().
SourceLocation QQmlJS::AST::ArrayPattern::lbracketToken |
Definition at line 754 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::ScriptFormatter::visit().
SourceLocation QQmlJS::AST::ArrayPattern::rbracketToken |
Definition at line 756 of file qqmljsast_p.h.
Referenced by QQmlJS::Dom::ScriptFormatter::visit().