summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/qmljsgrammar_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-03 08:04:55 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-03 08:04:55 (GMT)
commiteda224dd49af6bf151fa231d795bc02a4db87e7d (patch)
tree2653759cbe11cd0e492f4adbbff6ed7ffc8bb477 /src/declarative/qml/parser/qmljsgrammar_p.h
parent970e282c31011ac40cc94055ac01bea1994433c9 (diff)
downloadQt-eda224dd49af6bf151fa231d795bc02a4db87e7d.zip
Qt-eda224dd49af6bf151fa231d795bc02a4db87e7d.tar.gz
Qt-eda224dd49af6bf151fa231d795bc02a4db87e7d.tar.bz2
Modify QML grammar to accept "readonly" as a property modifier
Diffstat (limited to 'src/declarative/qml/parser/qmljsgrammar_p.h')
-rw-r--r--src/declarative/qml/parser/qmljsgrammar_p.h97
1 files changed, 49 insertions, 48 deletions
diff --git a/src/declarative/qml/parser/qmljsgrammar_p.h b/src/declarative/qml/parser/qmljsgrammar_p.h
index 3d48d4f..b597f4f 100644
--- a/src/declarative/qml/parser/qmljsgrammar_p.h
+++ b/src/declarative/qml/parser/qmljsgrammar_p.h
@@ -10,8 +10,8 @@
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
-** contained in the either Technology Preview License Agreement or the
-** Beta Release License Agreement.
+** contained in the Technology Preview License Agreement accompanying
+** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
@@ -22,20 +22,20 @@
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain
-** additional rights. These rights are described in the Nokia Qt LGPL
-** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
+** additional rights. These rights are described in the Nokia Qt LGPL
+** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
** package.
**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 3.0 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU General Public License version 3.0 requirements will be
-** met: http://www.gnu.org/copyleft/gpl.html.
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
**
-** If you are unsure which license is appropriate for your use, please
-** contact the sales department at http://www.qtsoftware.com/contact.
** $QT_END_LICENSE$
**
****************************************************************************/
@@ -59,21 +59,21 @@ class QmlJSGrammar
public:
enum {
EOF_SYMBOL = 0,
- REDUCE_HERE = 94,
- SHIFT_THERE = 93,
+ REDUCE_HERE = 95,
+ SHIFT_THERE = 94,
T_AND = 1,
T_AND_AND = 2,
T_AND_EQ = 3,
- T_AS = 89,
+ T_AS = 90,
T_AUTOMATIC_SEMICOLON = 62,
T_BREAK = 4,
T_CASE = 5,
T_CATCH = 6,
T_COLON = 7,
T_COMMA = 8,
- T_CONST = 83,
+ T_CONST = 84,
T_CONTINUE = 9,
- T_DEBUGGER = 84,
+ T_DEBUGGER = 85,
T_DEFAULT = 10,
T_DELETE = 11,
T_DIVIDE_ = 12,
@@ -84,10 +84,10 @@ public:
T_EQ = 17,
T_EQ_EQ = 18,
T_EQ_EQ_EQ = 19,
- T_FALSE = 82,
- T_FEED_JS_EXPRESSION = 92,
- T_FEED_JS_STATEMENT = 91,
- T_FEED_UI_PROGRAM = 90,
+ T_FALSE = 83,
+ T_FEED_JS_EXPRESSION = 93,
+ T_FEED_JS_STATEMENT = 92,
+ T_FEED_UI_PROGRAM = 91,
T_FINALLY = 20,
T_FOR = 21,
T_FUNCTION = 22,
@@ -99,7 +99,7 @@ public:
T_GT_GT_GT_EQ = 28,
T_IDENTIFIER = 29,
T_IF = 30,
- T_IMPORT = 88,
+ T_IMPORT = 89,
T_IN = 31,
T_INSTANCEOF = 32,
T_LBRACE = 33,
@@ -112,12 +112,12 @@ public:
T_MINUS = 40,
T_MINUS_EQ = 41,
T_MINUS_MINUS = 42,
- T_MULTILINE_STRING_LITERAL = 86,
+ T_MULTILINE_STRING_LITERAL = 87,
T_NEW = 43,
T_NOT = 44,
T_NOT_EQ = 45,
T_NOT_EQ_EQ = 46,
- T_NULL = 80,
+ T_NULL = 81,
T_NUMERIC_LITERAL = 47,
T_OR = 48,
T_OR_EQ = 49,
@@ -126,13 +126,14 @@ public:
T_PLUS_EQ = 52,
T_PLUS_PLUS = 53,
T_PROPERTY = 66,
- T_PUBLIC = 87,
+ T_PUBLIC = 88,
T_QUESTION = 54,
T_RBRACE = 55,
T_RBRACKET = 56,
+ T_READONLY = 68,
T_REMAINDER = 57,
T_REMAINDER_EQ = 58,
- T_RESERVED_WORD = 85,
+ T_RESERVED_WORD = 86,
T_RETURN = 59,
T_RPAREN = 60,
T_SEMICOLON = 61,
@@ -140,29 +141,29 @@ public:
T_STAR = 63,
T_STAR_EQ = 64,
T_STRING_LITERAL = 65,
- T_SWITCH = 68,
- T_THIS = 69,
- T_THROW = 70,
- T_TILDE = 71,
- T_TRUE = 81,
- T_TRY = 72,
- T_TYPEOF = 73,
- T_VAR = 74,
- T_VOID = 75,
- T_WHILE = 76,
- T_WITH = 77,
- T_XOR = 78,
- T_XOR_EQ = 79,
-
- ACCEPT_STATE = 612,
- RULE_COUNT = 334,
- STATE_COUNT = 613,
- TERMINAL_COUNT = 95,
+ T_SWITCH = 69,
+ T_THIS = 70,
+ T_THROW = 71,
+ T_TILDE = 72,
+ T_TRUE = 82,
+ T_TRY = 73,
+ T_TYPEOF = 74,
+ T_VAR = 75,
+ T_VOID = 76,
+ T_WHILE = 77,
+ T_WITH = 78,
+ T_XOR = 79,
+ T_XOR_EQ = 80,
+
+ ACCEPT_STATE = 621,
+ RULE_COUNT = 337,
+ STATE_COUNT = 622,
+ TERMINAL_COUNT = 96,
NON_TERMINAL_COUNT = 105,
- GOTO_INDEX_OFFSET = 613,
- GOTO_INFO_OFFSET = 2434,
- GOTO_CHECK_OFFSET = 2434
+ GOTO_INDEX_OFFSET = 622,
+ GOTO_INFO_OFFSET = 2376,
+ GOTO_CHECK_OFFSET = 2376
};
static const char *const spell [];