diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-03-22 16:04:03 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-04-27 08:11:16 +0000 |
commit | e07a03365ad07cd4294f487b15a57f31bd0a3d40 (patch) | |
tree | 7954c244860da7e424513f967cea91a93ab7172a /src/qml/parser/qqmljsastfwd_p.h | |
parent | 837dd08f65588f7f248150c0cacd1e3ef6c4e91f (diff) |
Rename Array/ObjectLiteral to Array/ObjectPattern in the AST
To get a consistent representation in the AST, we need to unify
the AST that is generated by theObjectLiterals, ObjectBindingPattern
and ObjectAssignmentPattern rules in the grammar. Like this we
can avoid having to reparse part of the source code, and instead
replace this with consistency checks once we know which of the
three grammars are supposed to apply.
Change-Id: Ib90f521f9595db6bcad446e40de9b912bab3da7c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/parser/qqmljsastfwd_p.h')
-rw-r--r-- | src/qml/parser/qqmljsastfwd_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/parser/qqmljsastfwd_p.h b/src/qml/parser/qqmljsastfwd_p.h index 0beaed535f..4661c2eb1e 100644 --- a/src/qml/parser/qqmljsastfwd_p.h +++ b/src/qml/parser/qqmljsastfwd_p.h @@ -94,8 +94,8 @@ class NumericLiteral; class StringLiteral; class TemplateLiteral; class RegExpLiteral; -class ArrayLiteral; -class ObjectLiteral; +class ArrayPattern; +class ObjectPattern; class ElementList; class Elision; class PropertyDefinitionList; |