diff options
Diffstat (limited to 'src/declarative/qml')
-rw-r--r-- | src/declarative/qml/parser/javascript.g | 10 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptast.cpp | 9 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptast_p.h | 16 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptastfwd_p.h | 1 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptastvisitor_p.h | 2 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptgrammar.cpp | 1157 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptgrammar_p.h | 10 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptparser.cpp | 357 | ||||
-rw-r--r-- | src/declarative/qml/parser/javascriptparser_p.h | 4 |
9 files changed, 808 insertions, 758 deletions
diff --git a/src/declarative/qml/parser/javascript.g b/src/declarative/qml/parser/javascript.g index 3a4061b..baec64f 100644 --- a/src/declarative/qml/parser/javascript.g +++ b/src/declarative/qml/parser/javascript.g @@ -656,6 +656,16 @@ case $rule_number: { UiObjectMember: FunctionDeclaration ; /. +case $rule_number: { + sym(1).Node = makeAstNode<AST::UiSourceElement>(driver->nodePool(), sym(1).Statement); +} break; +./ + +UiObjectMember: VariableStatement ; +/. +case $rule_number: { + sym(1).Node = makeAstNode<AST::UiSourceElement>(driver->nodePool(), sym(1).Statement); +} break; ./ UiQualifiedId: T_IDENTIFIER ; diff --git a/src/declarative/qml/parser/javascriptast.cpp b/src/declarative/qml/parser/javascriptast.cpp index f779f04..4ceb9ad 100644 --- a/src/declarative/qml/parser/javascriptast.cpp +++ b/src/declarative/qml/parser/javascriptast.cpp @@ -888,6 +888,15 @@ void UiImportList::accept0(Visitor *visitor) visitor->endVisit(this); } +void UiSourceElement::accept0(Visitor *visitor) +{ + if (visitor->visit(this)) { + acceptChild(sourceElement, visitor); + } + + visitor->endVisit(this); +} + } } // namespace JavaScript::AST QT_END_NAMESPACE diff --git a/src/declarative/qml/parser/javascriptast_p.h b/src/declarative/qml/parser/javascriptast_p.h index 4a5f553..de34ab2 100644 --- a/src/declarative/qml/parser/javascriptast_p.h +++ b/src/declarative/qml/parser/javascriptast_p.h @@ -215,7 +215,8 @@ public: Kind_UiScriptBinding, Kind_UiArrayBinding, Kind_UiObjectMemberList, - Kind_UiQualifiedId + Kind_UiQualifiedId, + Kind_UiSourceElement }; inline Node() @@ -1674,6 +1675,19 @@ public: SourceLocation rbraceToken; }; +class UiSourceElement: public UiObjectMember +{ +public: + UiSourceElement(Statement *sourceElement) + : sourceElement(sourceElement) + { kind = Kind_UiSourceElement; } + + virtual void accept0(Visitor *visitor); + +// attributes + Statement *sourceElement; +}; + class UiObjectBinding: public UiObjectMember { public: diff --git a/src/declarative/qml/parser/javascriptastfwd_p.h b/src/declarative/qml/parser/javascriptastfwd_p.h index f53c0e5..e3951ed 100644 --- a/src/declarative/qml/parser/javascriptastfwd_p.h +++ b/src/declarative/qml/parser/javascriptastfwd_p.h @@ -150,6 +150,7 @@ class UiObjectDefinition; class UiObjectInitializer; class UiObjectBinding; class UiScriptBinding; +class UiSourceElement; class UiArrayBinding; class UiObjectMember; class UiObjectMemberList; diff --git a/src/declarative/qml/parser/javascriptastvisitor_p.h b/src/declarative/qml/parser/javascriptastvisitor_p.h index bc9a8a6..e5f1427 100644 --- a/src/declarative/qml/parser/javascriptastvisitor_p.h +++ b/src/declarative/qml/parser/javascriptastvisitor_p.h @@ -73,6 +73,7 @@ public: virtual bool visit(UiImportList *) { return true; } virtual bool visit(UiImport *) { return true; } virtual bool visit(UiPublicMember *) { return true; } + virtual bool visit(UiSourceElement *) { return true; } virtual bool visit(UiObjectDefinition *) { return true; } virtual bool visit(UiObjectInitializer *) { return true; } virtual bool visit(UiObjectBinding *) { return true; } @@ -85,6 +86,7 @@ public: virtual void endVisit(UiImportList *) {} virtual void endVisit(UiImport *) {} virtual void endVisit(UiPublicMember *) {} + virtual void endVisit(UiSourceElement *) {} virtual void endVisit(UiObjectDefinition *) {} virtual void endVisit(UiObjectInitializer *) {} virtual void endVisit(UiObjectBinding *) {} diff --git a/src/declarative/qml/parser/javascriptgrammar.cpp b/src/declarative/qml/parser/javascriptgrammar.cpp index 35af821..0b25807 100644 --- a/src/declarative/qml/parser/javascriptgrammar.cpp +++ b/src/declarative/qml/parser/javascriptgrammar.cpp @@ -15,533 +15,529 @@ const char *const JavaScriptGrammar::spell [] = { const int JavaScriptGrammar::lhs [] = { 88, 89, 89, 92, 92, 93, 93, 91, 90, 90, 95, 95, 97, 97, 96, 94, 96, 94, 96, 94, - 96, 94, 94, 94, 94, 94, 98, 98, 102, 102, - 102, 102, 102, 102, 102, 102, 102, 102, 102, 102, - 102, 102, 102, 104, 104, 108, 108, 103, 103, 106, - 106, 109, 109, 109, 109, 110, 110, 110, 110, 110, - 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, - 110, 110, 110, 110, 110, 110, 110, 110, 110, 110, - 110, 110, 110, 110, 110, 110, 111, 111, 112, 112, - 112, 112, 112, 115, 115, 116, 116, 116, 116, 114, - 114, 117, 117, 118, 118, 119, 119, 119, 120, 120, - 120, 120, 120, 120, 120, 120, 120, 120, 121, 121, - 121, 121, 122, 122, 122, 123, 123, 123, 123, 124, - 124, 124, 124, 124, 124, 124, 125, 125, 125, 125, - 125, 125, 126, 126, 126, 126, 126, 127, 127, 127, - 127, 127, 128, 128, 129, 129, 130, 130, 131, 131, - 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, - 137, 137, 138, 138, 139, 139, 107, 107, 140, 140, - 141, 141, 141, 141, 141, 141, 141, 141, 141, 141, - 141, 141, 100, 100, 142, 142, 143, 143, 144, 144, - 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, - 99, 99, 99, 99, 99, 145, 161, 161, 160, 160, - 146, 146, 162, 162, 163, 163, 165, 165, 164, 166, - 169, 167, 167, 170, 168, 168, 147, 148, 148, 149, - 149, 150, 150, 150, 150, 150, 150, 150, 151, 151, - 151, 151, 152, 152, 152, 152, 153, 153, 154, 156, - 171, 171, 174, 174, 172, 172, 175, 173, 155, 157, - 157, 158, 158, 158, 176, 177, 159, 159, 101, 113, - 181, 181, 178, 178, 179, 179, 182, 183, 183, 184, - 184, 180, 180, 105, 105, 185}; + 96, 94, 94, 94, 94, 94, 94, 98, 98, 103, + 103, 103, 103, 103, 103, 103, 103, 103, 103, 103, + 103, 103, 103, 103, 105, 105, 109, 109, 104, 104, + 107, 107, 110, 110, 110, 110, 111, 111, 111, 111, + 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, + 111, 111, 111, 111, 111, 111, 111, 111, 111, 111, + 111, 111, 111, 111, 111, 111, 111, 112, 112, 113, + 113, 113, 113, 113, 116, 116, 117, 117, 117, 117, + 115, 115, 118, 118, 119, 119, 120, 120, 120, 121, + 121, 121, 121, 121, 121, 121, 121, 121, 121, 122, + 122, 122, 122, 123, 123, 123, 124, 124, 124, 124, + 125, 125, 125, 125, 125, 125, 125, 126, 126, 126, + 126, 126, 126, 127, 127, 127, 127, 127, 128, 128, + 128, 128, 128, 129, 129, 130, 130, 131, 131, 132, + 132, 133, 133, 134, 134, 135, 135, 136, 136, 137, + 137, 138, 138, 139, 139, 140, 140, 108, 108, 141, + 141, 142, 142, 142, 142, 142, 142, 142, 142, 142, + 142, 142, 142, 100, 100, 143, 143, 144, 144, 145, + 145, 99, 99, 99, 99, 99, 99, 99, 99, 99, + 99, 99, 99, 99, 99, 99, 146, 161, 161, 160, + 160, 102, 102, 162, 162, 163, 163, 165, 165, 164, + 166, 169, 167, 167, 170, 168, 168, 147, 148, 148, + 149, 149, 150, 150, 150, 150, 150, 150, 150, 151, + 151, 151, 151, 152, 152, 152, 152, 153, 153, 154, + 156, 171, 171, 174, 174, 172, 172, 175, 173, 155, + 157, 157, 158, 158, 158, 176, 177, 159, 159, 101, + 114, 181, 181, 178, 178, 179, 179, 182, 183, 183, + 184, 184, 180, 180, 106, 106, 185}; const int JavaScriptGrammar:: rhs[] = { 2, 1, 1, 1, 2, 3, 3, 0, 1, 2, 1, 3, 2, 3, 4, 4, 2, 2, 5, 5, - 3, 3, 6, 3, 5, 1, 1, 3, 1, 1, - 1, 1, 1, 1, 1, 1, 1, 3, 3, 5, - 3, 4, 3, 2, 4, 1, 2, 0, 1, 3, - 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 3, 3, 6, 3, 5, 1, 1, 1, 3, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, + 5, 3, 4, 3, 2, 4, 1, 2, 0, 1, + 3, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 4, 3, 5, 1, 2, 4, 4, 4, 3, 0, - 1, 1, 3, 1, 1, 1, 2, 2, 1, 2, - 2, 2, 2, 2, 2, 2, 2, 2, 1, 3, - 3, 3, 1, 3, 3, 1, 3, 3, 3, 1, - 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, - 3, 3, 1, 3, 3, 3, 3, 1, 3, 3, - 3, 3, 1, 3, 1, 3, 1, 3, 1, 3, - 1, 3, 1, 3, 1, 3, 1, 3, 1, 3, - 1, 3, 1, 5, 1, 5, 1, 3, 1, 3, + 1, 4, 3, 5, 1, 2, 4, 4, 4, 3, + 0, 1, 1, 3, 1, 1, 1, 2, 2, 1, + 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, + 3, 3, 3, 1, 3, 3, 1, 3, 3, 3, + 1, 3, 3, 3, 3, 3, 3, 1, 3, 3, + 3, 3, 3, 1, 3, 3, 3, 3, 1, 3, + 3, 3, 3, 1, 3, 1, 3, 1, 3, 1, + 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, + 3, 1, 3, 1, 5, 1, 5, 1, 3, 1, + 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 3, 0, 1, 1, 3, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 3, 0, 1, 1, 3, 0, 1, - 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, 3, 1, 2, 0, 1, - 3, 3, 1, 1, 1, 3, 1, 3, 2, 2, - 2, 0, 1, 2, 0, 1, 1, 2, 2, 7, - 5, 7, 7, 5, 9, 10, 7, 8, 2, 2, - 3, 3, 2, 2, 3, 3, 3, 3, 5, 5, - 3, 5, 1, 2, 0, 1, 4, 3, 3, 3, - 3, 3, 3, 4, 5, 2, 2, 2, 8, 8, - 1, 3, 0, 1, 0, 1, 1, 1, 2, 1, - 1, 0, 1, 0, 1, 2}; + 1, 1, 1, 1, 1, 1, 3, 1, 2, 0, + 1, 3, 3, 1, 1, 1, 3, 1, 3, 2, + 2, 2, 0, 1, 2, 0, 1, 1, 2, 2, + 7, 5, 7, 7, 5, 9, 10, 7, 8, 2, + 2, 3, 3, 2, 2, 3, 3, 3, 3, 5, + 5, 3, 5, 1, 2, 0, 1, 4, 3, 3, + 3, 3, 3, 3, 4, 5, 2, 2, 2, 8, + 8, 1, 3, 0, 1, 0, 1, 1, 1, 2, + 1, 1, 0, 1, 0, 1, 2}; const int JavaScriptGrammar::action_default [] = { - 8, 2, 0, 0, 4, 3, 0, 296, 0, 6, - 7, 5, 26, 0, 27, 0, 9, 1, 0, 0, - 283, 284, 0, 281, 0, 282, 0, 285, 126, 193, - 157, 165, 161, 201, 208, 105, 177, 207, 215, 203, - 153, 0, 204, 286, 0, 291, 90, 205, 206, 211, - 106, 169, 173, 94, 123, 104, 109, 89, 143, 209, - 130, 288, 287, 290, 212, 0, 223, 0, 0, 0, - 36, 37, 0, 33, 0, 292, 30, 0, 294, 48, - 0, 0, 0, 0, 0, 31, 34, 0, 0, 195, - 237, 35, 0, 29, 0, 0, 32, 0, 0, 224, - 0, 0, 0, 213, 214, 119, 0, 202, 210, 0, - 0, 106, 125, 292, 30, 294, 108, 107, 0, 0, - 0, 121, 122, 120, 0, 293, 283, 0, 0, 285, - 0, 280, 0, 295, 0, 55, 56, 57, 58, 83, - 59, 84, 60, 61, 62, 63, 64, 65, 66, 67, - 52, 68, 69, 70, 71, 72, 54, 85, 73, 53, - 74, 75, 76, 77, 78, 79, 80, 81, 82, 86, - 0, 50, 0, 0, 42, 0, 51, 41, 124, 0, - 154, 0, 0, 0, 0, 144, 0, 0, 0, 0, - 0, 0, 134, 0, 0, 0, 128, 129, 127, 132, - 136, 135, 133, 131, 146, 145, 147, 0, 162, 0, - 158, 0, 0, 100, 99, 88, 87, 0, 0, 98, - 194, 101, 0, 102, 0, 103, 97, 238, 239, 279, - 0, 190, 183, 181, 188, 189, 187, 186, 192, 185, - 184, 182, 191, 178, 0, 166, 0, 0, 170, 0, - 0, 174, 0, 0, 100, 92, 0, 91, 0, 96, - 289, 253, 0, 254, 255, 256, 249, 0, 250, 251, - 252, 277, 278, 110, 0, 0, 0, 0, 0, 242, - 243, 199, 197, 159, 167, 163, 179, 155, 200, 0, - 106, 171, 175, 148, 137, 0, 0, 156, 0, 0, - 0, 0, 149, 0, 0, 0, 0, 0, 141, 139, - 142, 140, 138, 151, 150, 152, 0, 164, 0, 160, - 0, 198, 106, 0, 180, 195, 196, 0, 195, 0, - 0, 245, 0, 0, 0, 247, 0, 168, 0, 0, - 172, 0, 0, 176, 235, 0, 227, 236, 230, 0, - 234, 0, 195, 228, 0, 195, 0, 0, 246, 0, - 0, 0, 248, 293, 0, 269, 0, 0, 0, 241, - 0, 240, 217, 220, 0, 56, 83, 59, 84, 61, - 62, 33, 66, 67, 30, 68, 71, 31, 34, 195, - 35, 74, 29, 76, 32, 78, 79, 80, 81, 82, - 86, 218, 216, 94, 95, 100, 0, 93, 0, 257, - 258, 0, 0, 0, 260, 265, 263, 266, 0, 0, - 264, 265, 0, 261, 0, 262, 219, 268, 0, 219, - 267, 0, 270, 271, 0, 219, 272, 273, 0, 0, - 274, 0, 0, 0, 275, 276, 112, 111, 0, 0, - 0, 244, 0, 0, 0, 259, 0, 49, 0, 46, - 48, 39, 0, 45, 40, 47, 44, 38, 0, 43, - 116, 114, 118, 115, 113, 117, 232, 225, 0, 233, - 229, 0, 231, 221, 0, 222, 226, 0, 18, 13, + 8, 2, 0, 0, 4, 3, 0, 297, 0, 6, + 7, 5, 26, 224, 0, 28, 0, 225, 9, 1, + 0, 0, 27, 0, 284, 285, 0, 282, 0, 283, + 0, 286, 127, 194, 158, 166, 162, 202, 209, 106, + 178, 208, 216, 204, 154, 0, 205, 287, 0, 292, + 91, 206, 207, 212, 107, 170, 174, 95, 124, 105, + 110, 90, 144, 210, 131, 289, 288, 291, 213, 0, + 0, 0, 0, 37, 38, 0, 34, 0, 293, 31, + 0, 295, 49, 0, 0, 0, 0, 0, 32, 35, + 0, 0, 196, 238, 36, 0, 30, 0, 0, 33, + 0, 0, 0, 0, 0, 214, 215, 120, 203, 211, + 0, 0, 107, 126, 293, 31, 295, 109, 108, 0, + 0, 0, 122, 123, 121, 0, 294, 284, 0, 0, + 286, 0, 281, 0, 296, 0, 56, 57, 58, 59, + 84, 60, 85, 61, 62, 63, 64, 65, 66, 67, + 68, 53, 69, 70, 71, 72, 73, 55, 86, 74, + 54, 75, 76, 77, 78, 79, 80, 81, 82, 83, + 87, 0, 51, 0, 0, 43, 0, 52, 42, 125, + 0, 155, 0, 0, 0, 0, 145, 0, 0, 0, + 0, 0, 0, 135, 0, 0, 0, 129, 130, 128, + 133, 137, 136, 134, 132, 147, 146, 148, 0, 163, + 0, 159, 0, 0, 101, 100, 89, 88, 0, 0, + 99, 195, 102, 0, 103, 0, 104, 98, 239, 240, + 280, 0, 191, 184, 182, 189, 190, 188, 187, 193, + 186, 185, 183, 192, 179, 0, 167, 0, 0, 171, + 0, 0, 175, 0, 0, 101, 93, 0, 92, 0, + 97, 290, 254, 0, 255, 256, 257, 250, 0, 251, + 252, 253, 278, 279, 111, 0, 0, 0, 0, 0, + 243, 244, 200, 198, 160, 168, 164, 180, 156, 201, + 0, 107, 172, 176, 149, 138, 0, 0, 157, 0, + 0, 0, 0, 150, 0, 0, 0, 0, 0, 142, + 140, 143, 141, 139, 152, 151, 153, 0, 165, 0, + 161, 0, 199, 107, 0, 181, 196, 197, 0, 196, + 0, 0, 246, 0, 0, 0, 248, 0, 169, 0, + 0, 173, 0, 0, 177, 236, 0, 228, 237, 231, + 0, 235, 0, 196, 229, 0, 196, 0, 0, 247, + 0, 0, 0, 249, 294, 0, 270, 0, 0, 0, + 242, 0, 241, 218, 221, 0, 57, 84, 60, 85, + 62, 63, 34, 67, 68, 31, 69, 72, 32, 35, + 196, 36, 75, 30, 77, 33, 79, 80, 81, 82, + 83, 87, 219, 217, 95, 96, 101, 0, 94, 0, + 258, 259, 0, 0, 0, 261, 266, 264, 267, 0, + 0, 265, 266, 0, 262, 0, 263, 220, 269, 0, + 220, 268, 0, 271, 272, 0, 220, 273, 274, 0, + 0, 275, 0, 0, 0, 276, 277, 113, 112, 0, + 0, 0, 245, 0, 0, 0, 260, 0, 50, 0, + 47, 49, 40, 0, 46, 41, 48, 45, 39, 0, + 44, 117, 115, 119, 116, 114, 118, 0, 18, 13, 0, 14, 10, 0, 24, 0, 25, 23, 0, 0, - 22, 30, 48, 16, 27, 0, 11, 0, 17, 0, - 20, 12, 0, 21, 30, 48, 15, 0, 19, 28}; + 22, 31, 49, 16, 28, 0, 11, 0, 17, 0, + 20, 12, 0, 21, 31, 49, 15, 0, 19, 29, + 233, 226, 0, 234, 230, 0, 232, 222, 0, 223, + 227}; const int JavaScriptGrammar::goto_default [] = { - 2, 6, 17, 1, 5, 4, 16, 505, 506, 488, - 18, 372, 41, 12, 57, 458, 456, 134, 133, 29, - 457, 132, 135, 214, 53, 46, 222, 55, 35, 221, - 50, 56, 105, 54, 28, 60, 58, 293, 40, 287, - 30, 283, 32, 285, 31, 284, 51, 291, 52, 292, - 36, 286, 282, 323, 408, 288, 289, 33, 107, 39, - 42, 47, 48, 37, 34, 59, 108, 49, 64, 103, - 104, 38, 374, 373, 106, 478, 477, 345, 346, 480, - 348, 479, 347, 414, 418, 421, 417, 416, 436, 437, - 22, 44, 124, 21, 43, 62, 61, 0}; + 2, 6, 19, 1, 5, 4, 18, 495, 496, 478, + 20, 373, 45, 12, 108, 61, 459, 457, 135, 134, + 33, 458, 133, 136, 215, 57, 50, 223, 59, 39, + 222, 54, 60, 107, 58, 32, 64, 62, 294, 44, + 288, 34, 284, 36, 286, 35, 285, 55, 292, 56, + 293, 40, 287, 283, 324, 409, 289, 290, 37, 43, + 46, 51, 52, 41, 38, 63, 109, 53, 68, 105, + 106, 42, 375, 374, 21, 512, 511, 346, 347, 514, + 349, 513, 348, 415, 419, 422, 418, 417, 437, 438, + 26, 48, 125, 25, 47, 66, 65, 0}; const int JavaScriptGrammar::action_index [] = { - -21, -88, 75, 14, -88, -5, 208, -88, 88, -88, - -88, -88, -88, 55, 50, 56, -88, 163, 120, 69, - 70, 79, -7, -88, -6, -88, -12, 1320, 129, -88, - 61, -30, -57, -88, -88, 285, -88, -88, -88, -88, - 268, 233, -88, -88, 40, -88, -88, -88, -88, -88, - 349, 28, 124, 155, 148, -88, -88, -88, 332, -88, - 236, -88, 1320, -88, -88, 178, -88, 189, 125, 588, - -88, -88, 1236, -88, 62, 72, 90, 66, 1572, 84, - 588, 588, 588, 426, 588, -88, -88, 588, 588, 588, - -88, -88, 46, -88, 588, 588, -88, 48, 588, -88, - 588, 53, 54, -88, -88, -88, 67, -88, -88, 588, - 588, 78, 169, 59, -88, 1068, -88, -88, 588, 588, - 588, -88, -88, -88, 33, -88, -29, -58, -20, 1320, - -41, -88, 13, 17, -50, -88, -88, -88, -88, -88, + -19, -88, 70, 4, -88, -6, 252, -88, 75, -88, + -88, -88, -88, -88, 46, 50, 52, -88, -88, 241, + 100, 65, -88, -17, -12, 16, -30, -88, -1, -88, + -7, 1307, 114, -88, 14, -44, -75, -88, -88, 199, + -88, -88, -88, -88, 250, 228, -88, -88, -22, -88, + -88, -88, -88, -88, 498, 140, 96, 172, 195, -88, + -88, -88, 311, -88, 216, -88, 1307, -88, -88, 194, + 198, 99, 575, -88, -88, 1223, -88, 72, 67, 92, + 64, 1559, 90, 575, 575, 575, 374, 575, -88, -88, + 575, 575, 575, -88, -88, 48, -88, 575, 575, -88, + 55, 575, 575, 51, 59, -88, -88, -88, -88, -88, + 575, 575, 77, 168, 60, -88, 1055, -88, -88, 575, + 575, 575, -88, -88, -88, 24, -88, -18, -55, 43, + 1307, -26, -88, 84, 85, 63, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, -88, - 588, -88, 1152, 132, -88, 588, -88, -88, 192, 588, - 252, 588, 588, 588, 588, 312, 588, 588, 588, 588, - 588, 588, 231, 588, 588, 588, 128, 89, 93, 175, - 197, 190, 183, 150, 292, 322, 302, 588, -2, 588, - 71, 984, 588, 588, -88, -88, -88, 109, 588, -88, - -88, 68, 52, -88, 588, -88, -88, -88, -88, -88, - 588, -88, -88, -88, -88, -88, -88, -88, -88, -88, - -88, -88, -88, -88, 588, 43, 588, 588, 64, 63, - 588, -88, 984, 588, 588, -88, 143, -88, 8, -88, - -88, -88, 96, -88, -88, -88, -88, 122, -88, -88, - -88, -88, -88, -88, 73, 74, 588, 99, 76, -88, - -88, 823, -88, 6, -36, -66, -88, 260, 51, -60, - 511, 1, 82, 350, 239, -13, 588, 266, 588, 588, - 588, 588, 350, 588, 588, 588, 588, 588, 235, 198, - 204, 227, 221, 350, 350, 267, 588, -61, 588, 23, - 588, -88, 367, 588, -88, 588, 20, -35, 588, -38, - 1236, -88, 588, 138, 1236, -88, 588, -44, 588, 588, - 7, -1, 588, -88, 18, 95, 32, -88, -88, 588, - -88, 2, 588, -88, -9, 588, -10, 1236, -88, 588, - 107, 1236, -88, 41, 1236, -88, 588, 103, 1236, 45, - 1236, -88, -88, 1236, 16, 135, 38, 172, 91, 588, - 1236, 47, 15, 77, 42, 3, 399, 31, 30, 669, - 27, -3, 25, 588, 34, 12, 588, 19, 588, 11, - 10, -88, -88, 180, -88, 588, -17, -88, 110, -88, - -88, 588, 212, -25, -88, 37, -88, 39, 106, 588, - -88, 35, 29, -88, 5, -88, 1236, -88, 101, 1236, - -88, 219, -88, -88, 108, 1236, 36, -88, 22, 24, - -88, 26, -33, -22, -88, -88, -88, -88, 588, 133, - 1236, -88, 588, 146, 1236, -88, 117, 21, 900, -88, - 9, -88, 746, -88, -88, -88, -88, -88, 116, -88, - -88, -88, -88, -88, -88, -88, 83, -88, 182, -88, - -88, 588, -88, -88, 49, -88, -88, 246, -88, -88, - 254, -88, -88, 44, 58, 588, 115, -88, 1488, 57, - -88, 112, 113, -88, 60, 126, -88, 111, -88, 65, - -88, -88, 1404, -88, 97, 114, -88, 147, -88, -88, + -88, 575, -88, 1139, 30, -88, 575, -88, -88, 208, + 575, 232, 575, 575, 575, 575, 321, 575, 575, 575, + 575, 575, 575, 219, 575, 575, 575, 127, 134, 122, + 154, 159, 174, 166, 173, 413, 413, 295, 575, -3, + 575, 71, 971, 575, 575, -88, -88, -88, 97, 575, + -88, -88, 69, 62, -88, 575, -88, -88, -88, -88, + -88, 575, -88, -88, -88, -88, -88, -88, -88, -88, + -88, -88, -88, -88, -88, 575, 49, 575, 575, 140, + 58, 575, -88, 971, 575, 575, -88, 126, -88, 11, + -88, -88, -88, 86, -88, -88, -88, -88, 78, -88, + -88, -88, -88, -88, -88, 28, 68, 575, 149, 66, + -88, -88, 887, -88, 54, -28, -58, -88, 254, 8, + -47, 429, 19, 79, 280, 192, -4, 575, 248, 575, + 575, 575, 575, 348, 575, 575, 575, 575, 575, 188, + 283, 191, 207, 215, 348, 348, 274, 575, -74, 575, + 54, 575, -88, 498, 575, -88, 575, -5, -61, 575, + -33, 1223, -88, 575, 220, 1223, -88, 575, -38, 575, + 575, 7, 0, 575, -88, -9, 98, 1, -88, -88, + 575, -88, 21, 575, -88, 3, 575, 2, 1223, -88, + 575, 112, 1223, -88, 27, 1223, -88, 575, 106, 1223, + 41, 1223, -88, -88, 1223, -16, 141, 9, 176, 82, + 575, 1223, 33, 10, 74, 38, 12, 355, 40, 37, + 656, 35, -2, 34, 575, 29, 20, 575, 32, 575, + 31, 42, -88, -88, 160, -88, 575, -8, -88, 94, + -88, -88, 575, 150, 25, -88, 17, -88, 44, 113, + 575, -88, 26, 36, -88, -20, -88, 1223, -88, 105, + 1223, -88, 214, -88, -88, 115, 1223, 39, -88, 18, + 23, -88, 22, -54, -21, -88, -88, -88, -88, 575, + 161, 1223, -88, 575, 130, 1223, -88, 133, 5, 810, + -88, 15, -88, 733, -88, -88, -88, -88, -88, 123, + -88, -88, -88, -88, -88, -88, -88, 285, -88, -88, + 309, -88, -88, 45, 61, 575, 155, -88, 1391, 53, + -88, 119, 103, -88, 47, 93, -88, 102, -88, 56, + -88, -88, 1475, -88, 118, 116, -88, 108, -88, -88, + 73, -88, 187, -88, -88, 575, -88, -88, 57, -88, + -88, - -98, -98, -98, -98, -98, 30, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, 48, -98, -98, - -98, -98, -98, -98, -98, -98, -98, 67, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -46, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, 201, -98, -98, -98, -98, -98, -98, 117, - -98, -98, 6, -98, -98, -98, -98, -98, -98, -98, - 37, 118, 114, 150, 146, -98, -98, 141, 138, 53, - -98, -98, -98, -98, 43, 78, -98, -7, 91, -98, - 88, -98, -98, -98, -98, -98, -98, -98, -98, 94, - 95, -98, -98, -98, -98, -98, -98, -98, 103, 99, - 100, -98, -98, -98, -98, -98, -51, -98, -98, 180, + -98, -98, -98, -98, -98, 31, 17, -98, -98, -98, + -98, -98, -98, -98, -98, -98, -98, -98, -98, 67, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, + -98, 63, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, + -98, -98, -98, -98, -45, -98, -98, -98, -98, -98, + -98, -98, -98, -98, -98, -98, 186, -98, -98, -98, + -98, -98, 113, -98, -98, -11, -98, -98, -98, -98, + -98, -98, -98, 43, 116, 112, 134, 147, -98, -98, + 153, 152, 42, -98, -98, -98, -98, 37, 87, -98, + -15, 90, 84, -98, -98, -98, -98, -98, -98, -98, + 78, 94, -98, -98, -98, -98, -98, -98, -98, 103, + 102, 96, -98, -98, -98, -98, -98, -49, -98, -98, + 253, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -5, -98, -8, -98, -98, -9, -98, -98, -98, 96, - -98, 136, 124, 129, 133, -98, 132, 122, 38, 39, - 58, 56, -98, 62, 36, 55, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -98, 57, -98, 64, - -98, 12, 29, 25, -98, -98, -98, -98, 23, -98, - -98, -98, -98, -98, 8, -98, -98, -98, -98, -98, - 44, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, 68, -98, 65, 60, -98, -98, - -17, -98, 54, 41, 119, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, -1, -98, -98, -98, - -98, 70, -98, -98, -98, -98, -98, -98, -98, -98, - -98, -98, -98, -98, -98, -98, 196, -98, 185, 174, - 168, 186, -98, 79, 72, 71, 106, 107, -98, -98, - -98, -98, -98, -98, -98, -98, 167, -98, 153, -98, - 155, -98, -98, 165, -98, 128, -98, -98, 63, -98, - 26, -98, 24, -98, 27, -98, 154, -98, 145, 166, - -98, -98, 178, -98, -98, -98, -98, -98, -98, 189, - -98, -52, 85, -98, -98, 110, -98, 17, -98, 19, - -98, 22, -98, -98, 21, -98, 18, -98, 13, -98, - 47, -98, -98, 51, -98, -98, -98, -98, -98, 83, - 45, -98, -98, -98, -98, -98, 92, -98, -98, 34, - -98, -98, -98, 40, -98, -34, 121, -98, 149, -98, - -98, -98, -98, -98, -98, 230, -98, -98, -98, -98, - -98, -6, -98, -98, -98, -98, -98, -84, -98, 7, - -98, -63, -98, -98, -98, -98, -54, -98, -98, -64, - -98, -98, -98, -98, -98, -98, -77, -98, -98, -37, - -98, -98, -98, -42, -98, -98, -98, -98, 10, -98, - 5, -98, -3, -98, -10, -98, -98, -98, -14, -98, - -11, -98, -19, -98, -98, -98, -98, -98, -98, -98, + -98, 1, -98, -17, -98, -98, -7, -98, -98, -98, + 133, -98, 119, 123, 130, 132, -98, 121, 34, 46, + 33, 61, 59, -98, 68, 48, 40, -98, -98, -98, + -98, -98, -98, -98, -98, -98, -98, -98, 57, -98, + 55, -98, 28, 32, 22, -98, -98, -98, -98, 25, + -98, -98, -98, -98, -98, 8, -98, -98, -98, -98, + -98, 7, -98, -98, -98, -98, -98, -98, -98, -98, + -98, -98, -98, -98, -98, 60, -98, 54, -18, -98, + -98, -10, -98, 117, -8, 131, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, -98, - -98, 28, -98, -98, -16, -98, -98, 49, -98, -98, - 42, -98, -98, -98, -98, 52, 50, -98, 46, -98, - -98, 20, 35, -98, 16, -98, -98, -98, -98, 73, - -98, -98, 32, -98, 31, 151, -98, -98, -98, -98}; + -98, -98, -98, -98, -98, -98, -98, 5, -98, -98, + -98, -98, 62, -98, -98, -98, -98, -98, -98, -98, + -98, -98, -98, -98, -98, -98, -98, 188, -98, 198, + 185, 179, 189, -98, 83, 77, 80, 95, 106, -98, + -98, -98, -98, -98, -98, -98, -98, 170, -98, 160, + -98, 158, -98, -98, 177, -98, 98, -98, -98, 120, + -98, 26, -98, 27, -98, 29, -98, 157, -98, 156, + 159, -98, -98, 169, -98, -98, -98, -98, -98, -98, + 195, -98, -52, 126, -98, -98, 127, -98, 18, -98, + 20, -98, 23, -98, -98, 24, -98, 21, -98, 19, + -98, 47, -98, -98, 50, -98, -98, -98, -98, -98, + 91, 52, -98, -98, -98, -98, -98, 79, -98, -98, + 36, -98, -98, -98, 44, -98, -34, 135, -98, 146, + -98, -98, -98, -98, -98, -98, 128, -98, -98, -98, + -98, -98, 75, -98, -98, -98, -98, -98, -80, -98, + 6, -98, -65, -98, -98, -98, -98, -57, -98, -98, + -58, -98, -98, -98, -98, -98, -98, -69, -98, -98, + -42, -98, -98, -98, -46, -98, -98, -98, -98, 10, + -98, 12, -98, -1, -98, -5, -98, -98, -98, -19, + -98, -13, -98, -12, -98, -98, -98, -98, -98, -98, + -98, -98, -98, -98, -98, -98, -98, 92, -98, -98, + 66, -98, -98, -98, -98, 45, 38, -98, 41, -98, + -98, 53, 49, -98, 51, -98, -98, -98, -98, 58, + -98, -98, 35, -98, 16, 166, -98, -98, -98, -98, + -98, -98, -98, -98, -98, 30, -98, -98, -38, -98, + -98}; const int JavaScriptGrammar::action_info [] = { - 23, 325, 128, 336, 316, 177, 342, 296, 415, 336, - 318, 435, 316, 129, 131, 318, 344, 459, 207, 209, - 170, 27, 330, 25, 296, 172, 328, 443, 218, 465, - 244, 344, -75, 411, -53, 349, 426, -54, -72, 366, - 419, -77, 419, 407, 419, 435, 452, 448, -224, -52, - 357, 281, 355, 26, -64, 442, 439, 435, 441, 320, - 425, 370, 179, 359, 3, 495, 244, -223, 259, 126, - 250, 402, 179, 494, 209, 7, 224, 20, 476, 8, - 3, 435, 411, 487, 19, 493, 519, 24, 125, 448, - 452, 207, 459, 487, 504, 229, 476, 364, 281, 23, - 481, 363, 366, 351, 364, 20, 125, 218, 429, 218, - 276, 218, 226, -292, 438, 218, 422, 218, 512, 364, - 116, 459, 459, 218, 218, 460, 499, 498, 439, 109, - 487, 117, 338, 109, 509, 499, 339, 280, 279, 175, - 110, 218, 504, 504, 110, 487, 218, 275, 487, 10, - 9, 218, 272, 271, 218, 509, 352, 265, 264, 278, - 118, 423, 0, 368, 262, 219, 0, 361, 109, 109, - 252, 410, 409, 461, 246, 193, 469, 194, 247, 110, - 110, 118, 510, 270, 269, 13, 272, 271, 195, 253, - 484, 254, 14, 450, 0, 252, 263, 261, 334, 257, - 193, 267, 194, 518, 118, 119, 454, 262, 193, 0, - 194, 120, 0, 195, 253, 193, 405, 194, 267, 0, - 218, 195, 193, 193, 194, 194, 119, 218, 195, 193, - 13, 194, 120, 268, 266, 195, 195, 14, 0, 263, - 261, 218, 195, 485, 483, 0, 193, 15, 194, 119, - 268, 266, 193, 0, 194, 120, 193, 0, 194, 195, - 193, 193, 194, 194, 193, 195, 194, 0, 13, 195, - 181, 182, 413, 195, 195, 14, 13, 195, 298, 299, - 433, 432, 0, 14, 298, 299, 181, 182, 0, 0, - 303, 304, 15, 0, 228, 227, 0, 183, 184, 305, - 211, 489, 306, 0, 307, 300, 301, 0, 0, 491, - 0, 300, 301, 183, 184, 186, 187, 0, 0, 212, - 0, 213, 0, 188, 189, 186, 187, 190, 0, 191, - 15, 0, 0, 188, 189, 186, 187, 190, 15, 191, - 0, 0, 0, 188, 189, 186, 187, 190, 0, 191, - 0, 0, 231, 188, 189, 186, 187, 190, 0, 191, - 0, 0, 232, 188, 189, 0, 233, 190, 0, 191, - 231, 0, 0, 303, 304, 234, 0, 235, 0, 0, - 232, 0, 305, 0, 233, 306, 0, 307, 236, 0, - 237, 116, 0, 234, 0, 235, 0, 0, 238, 0, - 0, 239, 117, 0, 0, 0, 236, 240, 237, 116, - 0, 70, 71, 241, 0, 0, 238, 0, 0, 239, - 117, 113, 0, 0, 0, 240, 242, 0, 114, 0, - 0, 241, 115, 79, 0, 80, 0, 0, 70, 71, - 0, 0, 83, 0, 242, 0, 86, 0, 113, 0, - 0, 0, 0, 0, 0, 114, 0, 0, 0, 115, - 79, 0, 80, 0, 91, 0, 93, 0, 0, 83, - 0, 0, 0, 86, 0, 0, 0, 85, 96, 73, + 329, 210, 319, 219, 208, 129, 444, 343, 350, 337, + 317, 27, 436, 466, 326, 180, 321, 27, 319, 24, + 317, 337, 420, 460, 28, 345, 31, 331, 29, 132, + 30, 420, 360, 230, 412, 426, -78, 176, -224, 403, + -65, -76, -54, 427, -55, -53, 282, -73, 367, 420, + 345, 443, 408, 436, 442, 297, 436, 371, 416, 440, + 127, -225, 358, 24, 356, 251, 3, 449, 485, 8, + 7, 260, 180, 210, 484, 23, 130, 225, 453, 3, + 477, 483, 509, 477, 412, 494, 510, 449, 436, 126, + 515, 171, 0, 173, 510, 453, 364, 208, 460, 365, + 367, 499, 276, 126, 277, 219, 352, 488, 282, 502, + -293, 460, 430, 219, 219, 489, 499, 489, 178, 117, + 219, 439, 227, 423, 460, 365, 365, 281, 280, 339, + 118, 219, 494, 340, 219, 440, 10, 9, 219, 271, + 270, 461, 245, 273, 272, 494, 247, 266, 265, 500, + 248, 477, 477, 220, 110, 411, 410, 219, 219, 353, + 273, 272, 110, 219, 508, 111, 369, 110, 424, 219, + 263, 0, 362, 111, 110, 253, 0, 0, 111, 194, + 119, 195, 258, 470, 194, 111, 195, 253, 477, 462, + 455, 194, 196, 195, 254, 518, 406, 196, 194, 194, + 195, 195, 264, 262, 196, 268, 254, 119, 255, 279, + 414, 196, 196, 194, 212, 195, 194, 194, 195, 195, + 119, 451, 219, 263, 0, 120, 196, 268, 219, 196, + 196, 121, 194, 213, 195, 214, 219, 269, 267, 0, + 194, 194, 195, 195, 194, 196, 195, 0, 519, 517, + 182, 183, 120, 196, 196, 264, 262, 196, 121, 269, + 267, 0, 0, 14, 0, 120, 299, 300, 182, 183, + 15, 121, 299, 300, 14, 434, 433, 184, 185, 0, + 335, 15, 0, 0, 0, 0, 0, 0, 0, 229, + 228, 0, 0, 301, 302, 184, 185, 304, 305, 301, + 302, 0, 0, 304, 305, 0, 306, 14, 194, 307, + 195, 308, 306, 17, 15, 307, 0, 308, 187, 188, + 0, 196, 13, 0, 17, 16, 189, 190, 0, 0, + 191, 14, 192, 13, 187, 188, 16, 0, 15, 0, + 479, 0, 189, 190, 187, 188, 191, 0, 192, 0, + 0, 0, 189, 190, 0, 0, 191, 17, 192, 0, + 0, 0, 0, 0, 481, 0, 13, 73, 74, 16, + 0, 304, 305, 0, 0, 0, 0, 114, 0, 0, + 306, 17, 0, 307, 115, 308, 73, 74, 116, 82, + 13, 83, 0, 16, 0, 0, 114, 0, 86, 0, + 0, 0, 89, 115, 0, 0, 0, 116, 82, 0, + 83, 0, 0, 0, 0, 0, 0, 86, 0, 0, + 94, 89, 96, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 232, 88, 99, 76, 187, 188, 0, 94, + 0, 96, 233, 0, 189, 190, 234, 0, 191, 0, + 192, 0, 88, 99, 76, 235, 0, 236, 0, 0, + 333, 0, 0, 0, 0, 0, 0, 0, 237, 0, + 238, 117, 0, 0, 0, 0, 0, 0, 239, 0, + 0, 240, 118, 0, 0, 0, 0, 241, 0, 0, + 0, 0, 0, 242, 0, 0, 0, 0, 0, 0, + 0, 232, 0, 0, 0, 0, 243, 0, 0, 0, + 0, 233, 0, 0, 0, 234, 0, 0, 0, 0, + 0, 0, 0, 0, 235, 0, 236, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 237, 0, 238, + 117, 0, 0, 0, 0, 0, 0, 239, 0, 0, + 240, 118, 0, 0, 0, 0, 241, 0, 0, 0, + 0, 0, 242, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 243, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 72, 73, 74, 0, + 0, 0, 0, 0, 0, 0, 0, 114, 0, 0, + 0, 0, 0, 0, 115, 0, 0, 0, 116, 82, + 0, 83, 0, 0, 0, 84, 0, 85, 86, 87, + 0, 0, 89, 0, 0, 0, 90, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 91, 0, 93, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 85, 96, 73, 0, 0, 0, - 0, 0, 0, 0, 231, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 232, 0, 0, 0, 233, 0, - 0, 0, 0, 0, 0, 0, 0, 234, 0, 235, - 0, 0, 332, 0, 0, 0, 0, 0, 0, 0, - 236, 0, 237, 116, 0, 0, 0, 0, 0, 0, - 238, 0, 0, 239, 117, 0, 0, 0, 0, 240, - 0, 0, 0, 0, 0, 241, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 242, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 69, - 70, 71, 0, 0, 0, 0, 0, 0, 0, 0, - 113, 0, 0, 0, 0, 0, 0, 114, 0, 0, - 0, 115, 79, 0, 80, 0, 0, 0, 81, 0, - 82, 83, 84, 0, 0, 86, 0, 0, 0, 87, - 0, 88, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 91, 0, 93, 0, 95, 0, 98, - 0, 100, 0, 0, 0, 0, 85, 96, 73, 0, - 0, 0, 0, 0, 0, 0, -73, 0, 0, 0, - 69, 70, 71, 0, 0, 0, 0, 0, 0, 0, - 0, 113, 0, 0, 0, 0, 0, 0, 114, 0, - 0, 0, 115, 79, 0, 80, 0, 0, 0, 81, - 0, 82, 83, 84, 0, 0, 86, 0, 0, 0, - 87, 0, 88, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 91, 0, 93, 0, 95, 0, - 98, 0, 100, 0, 0, 0, 0, 85, 96, 73, - 0, 0, 0, 0, 0, 0, 0, 69, 70, 71, - 0, 0, 0, 0, 0, 0, 0, 0, 113, 0, - 0, 0, 0, 0, 0, 114, 0, 0, 0, 115, - 79, 0, 80, 0, 0, 0, 81, 0, 82, 83, - 84, 0, 0, 86, 0, 0, 0, 87, 0, 88, - 0, 0, 464, 0, 0, 0, 0, 0, 0, 0, - 0, 91, 0, 93, 0, 95, 0, 98, 0, 100, - 0, 0, 0, 0, 85, 96, 73, 0, 0, 0, - 0, 0, 0, 0, 69, 70, 71, 0, 0, 0, - 0, 0, 0, 0, 0, 113, 0, 0, 0, 0, - 0, 0, 114, 0, 0, 0, 115, 79, 0, 80, - 0, 0, 0, 81, 0, 82, 83, 84, 0, 0, - 86, 0, 0, 0, 87, 0, 88, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 91, 0, - 93, 0, 95, 0, 98, 295, 100, 0, 0, 0, - 0, 85, 96, 73, 0, 0, 0, 0, 0, 0, - 0, 69, 70, 71, 0, 0, 0, 0, 0, 0, - 0, 0, 113, 0, 0, 0, 0, 0, 0, 114, - 0, 0, 0, 115, 79, 0, 80, 0, 0, 0, - 81, 0, 82, 83, 84, 0, 0, 86, 0, 0, - 0, 87, 0, 88, 0, 0, 467, 0, 0, 0, - 0, 0, 0, 0, 0, 91, 0, 93, 0, 95, - 0, 98, 0, 100, 0, 0, 0, 0, 85, 96, - 73, 0, 0, 0, 0, 0, 0, 0, 136, 137, - 138, 0, 0, 140, 142, 143, 0, 0, 144, 0, - 145, 0, 0, 0, 147, 148, 149, 0, 0, 0, - 0, 0, 0, 216, 151, 152, 153, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 154, 0, 0, + 94, 0, 96, 0, 98, 0, 101, 0, 102, 0, + 0, 0, 0, 88, 99, 76, 0, 0, 0, 0, + 0, 0, 0, -74, 0, 0, 0, 72, 73, 74, + 0, 0, 0, 0, 0, 0, 0, 0, 114, 0, + 0, 0, 0, 0, 0, 115, 0, 0, 0, 116, + 82, 0, 83, 0, 0, 0, 84, 0, 85, 86, + 87, 0, 0, 89, 0, 0, 0, 90, 0, 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 158, 0, 0, 0, 0, 0, 0, - 160, 161, 162, 0, 164, 165, 166, 167, 168, 169, - 0, 0, 155, 163, 146, 139, 141, 157, 0, 0, - 0, 0, 136, 137, 138, 0, 0, 140, 142, 143, - 0, 0, 144, 0, 145, 0, 0, 0, 147, 148, - 149, 0, 0, 0, 0, 0, 0, 150, 151, 152, - 153, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 154, 0, 0, 0, 156, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 158, 0, 0, - 0, 0, 0, 159, 160, 161, 162, 0, 164, 165, - 166, 167, 168, 169, 0, 0, 155, 163, 146, 139, - 141, 157, 0, 0, 0, 0, 136, 137, 138, 0, - 0, 140, 142, 143, 0, 0, 144, 0, 145, 0, - 0, 0, 147, 148, 149, 0, 0, 0, 0, 0, - 0, 150, 151, 152, 153, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 154, 0, 0, 0, 156, - 0, 0, 0, 0, 0, 0, 0, 174, 0, 0, - 0, 158, 0, 0, 0, 0, 0, 159, 160, 161, - 162, 0, 164, 165, 166, 167, 168, 169, 0, 0, - 155, 163, 146, 139, 141, 157, 0, 0, 0, 0, - 65, 0, 0, 0, 0, 67, 0, 69, 70, 71, - 72, 0, 0, 0, 0, 0, 0, 74, 113, 0, - 0, 0, 0, 0, 0, 76, 77, 0, 0, 78, - 79, 0, 80, 0, 0, 0, 81, 0, 82, 83, - 84, 0, 0, 86, 0, 0, 0, 87, 0, 88, - 0, 0, 0, 0, 0, 89, 0, 90, 0, 0, - 0, 91, 92, 93, 94, 95, 97, 98, 99, 100, - 101, 102, 0, 0, 85, 96, 73, 66, 68, 0, - 0, 0, 0, 0, 65, 0, 0, 0, 0, 67, - 0, 69, 70, 71, 72, 0, 0, 0, 0, 0, - 0, 74, 75, 0, 0, 0, 0, 0, 0, 76, - 77, 0, 0, 78, 79, 0, 80, 0, 0, 0, - 81, 0, 82, 83, 84, 0, 0, 86, 0, 0, - 0, 87, 0, 88, 0, 0, 0, 0, 0, 89, - 0, 90, 0, 0, 0, 91, 92, 93, 94, 95, - 97, 98, 99, 100, 101, 102, 0, 0, 85, 96, - 73, 66, 68, 0, 0, 0, 0, 0, 65, 0, - 0, 0, 0, 67, 0, 69, 70, 71, 72, 0, - 0, 0, 0, 0, 0, 74, 113, 0, 0, 0, - 0, 0, 0, 514, 77, 0, 0, 78, 515, 0, - 80, 0, 0, 0, 81, 0, 82, 83, 84, 0, - 0, 86, 0, 0, 0, 87, 0, 88, 0, 0, - 0, 0, 0, 89, 0, 90, 0, 0, 0, 91, - 92, 93, 94, 95, 97, 98, 99, 100, 101, 102, - 0, 0, 85, 96, 73, 66, 68, 0, 0, 0, - 0, 0, 65, 0, 0, 0, 0, 67, 0, 69, - 70, 71, 72, 0, 0, 0, 0, 0, 0, 74, - 113, 0, 0, 0, 0, 0, 0, 501, 77, 0, - 0, 78, 502, 0, 80, 0, 0, 0, 81, 0, - 82, 83, 84, 0, 0, 86, 0, 0, 0, 87, - 0, 88, 0, 0, 0, 0, 0, 89, 0, 90, - 0, 0, 0, 91, 92, 93, 94, 95, 97, 98, - 99, 100, 101, 102, 0, 0, 85, 96, 73, 66, - 68, 0, 0, 0, 0, 0, 375, 137, 138, 0, - 0, 377, 142, 379, 70, 71, 380, 0, 145, 0, - 0, 0, 147, 382, 383, 0, 0, 0, 0, 0, - 0, 384, 385, 152, 153, 78, 79, 0, 80, 0, - 0, 0, 81, 0, 82, 386, 84, 0, 0, 388, - 0, 0, 0, 87, 0, 88, 0, -219, 0, 0, - 0, 389, 0, 90, 0, 0, 0, 390, 391, 392, - 393, 95, 395, 396, 397, 398, 399, 400, 0, 0, - 387, 394, 381, 376, 378, 157, 0, 0, 0, 0, + 0, 94, 0, 96, 0, 98, 0, 101, 0, 102, + 0, 0, 0, 0, 88, 99, 76, 0, 0, 0, + 0, 0, 0, 0, 72, 73, 74, 0, 0, 0, + 0, 0, 0, 0, 0, 114, 0, 0, 0, 0, + 0, 0, 115, 0, 0, 0, 116, 82, 0, 83, + 0, 0, 0, 84, 0, 85, 86, 87, 0, 0, + 89, 0, 0, 0, 90, 0, 91, 0, 0, 465, + 0, 0, 0, 0, 0, 0, 0, 0, 94, 0, + 96, 0, 98, 0, 101, 0, 102, 0, 0, 0, + 0, 88, 99, 76, 0, 0, 0, 0, 0, 0, + 0, 72, 73, 74, 0, 0, 0, 0, 0, 0, + 0, 0, 114, 0, 0, 0, 0, 0, 0, 115, + 0, 0, 0, 116, 82, 0, 83, 0, 0, 0, + 84, 0, 85, 86, 87, 0, 0, 89, 0, 0, + 0, 90, 0, 91, 0, 0, 468, 0, 0, 0, + 0, 0, 0, 0, 0, 94, 0, 96, 0, 98, + 0, 101, 0, 102, 0, 0, 0, 0, 88, 99, + 76, 0, 0, 0, 0, 0, 0, 0, 72, 73, + 74, 0, 0, 0, 0, 0, 0, 0, 0, 114, + 0, 0, 0, 0, 0, 0, 115, 0, 0, 0, + 116, 82, 0, 83, 0, 0, 0, 84, 0, 85, + 86, 87, 0, 0, 89, 0, 0, 0, 90, 0, + 91, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 94, 0, 96, 0, 98, 0, 101, 296, + 102, 0, 0, 0, 0, 88, 99, 76, 0, 0, + 0, 0, 0, 0, 0, 137, 138, 139, 0, 0, + 141, 143, 144, 0, 0, 145, 0, 146, 0, 0, + 0, 148, 149, 150, 0, 0, 0, 0, 0, 0, + 217, 152, 153, 154, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 155, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 159, 0, 0, 0, 0, 0, 0, 161, 162, 163, + 0, 165, 166, 167, 168, 169, 170, 0, 0, 156, + 164, 147, 140, 142, 158, 0, 0, 0, 0, 137, + 138, 139, 0, 0, 141, 143, 144, 0, 0, 145, + 0, 146, 0, 0, 0, 148, 149, 150, 0, 0, + 0, 0, 0, 0, 151, 152, 153, 154, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 155, 0, + 0, 0, 157, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 159, 0, 0, 0, 0, 0, + 160, 161, 162, 163, 0, 165, 166, 167, 168, 169, + 170, 0, 0, 156, 164, 147, 140, 142, 158, 0, + 0, 0, 0, 137, 138, 139, 0, 0, 141, 143, + 144, 0, 0, 145, 0, 146, 0, 0, 0, 148, + 149, 150, 0, 0, 0, 0, 0, 0, 151, 152, + 153, 154, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 155, 0, 0, 0, 157, 0, 0, 0, + 0, 0, 0, 0, 175, 0, 0, 0, 159, 0, + 0, 0, 0, 0, 160, 161, 162, 163, 0, 165, + 166, 167, 168, 169, 170, 0, 0, 156, 164, 147, + 140, 142, 158, 0, 0, 0, 0, 69, 0, 0, + 0, 0, 70, 0, 72, 73, 74, 75, 0, 0, + 0, 0, 0, 0, 77, 114, 0, 0, 0, 0, + 0, 0, 79, 80, 0, 0, 81, 82, 0, 83, + 0, 0, 0, 84, 0, 85, 86, 87, 0, 0, + 89, 0, 0, 0, 90, 0, 91, 0, 0, 0, + 0, 0, 92, 0, 93, 0, 0, 0, 94, 95, + 96, 97, 98, 100, 101, 17, 102, 103, 104, 0, + 0, 88, 99, 76, 13, 71, 0, 0, 0, 0, + 0, 69, 0, 0, 0, 0, 70, 0, 72, 73, + 74, 75, 0, 0, 0, 0, 0, 0, 77, 78, + 0, 0, 0, 0, 0, 0, 79, 80, 0, 0, + 81, 82, 0, 83, 0, 0, 0, 84, 0, 85, + 86, 87, 0, 0, 89, 0, 0, 0, 90, 0, + 91, 0, 0, 0, 0, 0, 92, 0, 93, 0, + 0, 0, 94, 95, 96, 97, 98, 100, 101, 17, + 102, 103, 104, 0, 0, 88, 99, 76, 13, 71, + 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, + 70, 0, 72, 73, 74, 75, 0, 0, 0, 0, + 0, 0, 77, 114, 0, 0, 0, 0, 0, 0, + 491, 80, 0, 0, 81, 492, 0, 83, 0, 0, + 0, 84, 0, 85, 86, 87, 0, 0, 89, 0, + 0, 0, 90, 0, 91, 0, 0, 0, 0, 0, + 92, 0, 93, 0, 0, 0, 94, 95, 96, 97, + 98, 100, 101, 17, 102, 103, 104, 0, 0, 88, + 99, 76, 13, 71, 0, 0, 0, 0, 0, 69, + 0, 0, 0, 0, 70, 0, 72, 73, 74, 75, + 0, 0, 0, 0, 0, 0, 77, 114, 0, 0, + 0, 0, 0, 0, 504, 80, 0, 0, 81, 505, + 0, 83, 0, 0, 0, 84, 0, 85, 86, 87, + 0, 0, 89, 0, 0, 0, 90, 0, 91, 0, + 0, 0, 0, 0, 92, 0, 93, 0, 0, 0, + 94, 95, 96, 97, 98, 100, 101, 17, 102, 103, + 104, 0, 0, 88, 99, 76, 13, 71, 0, 0, + 0, 0, 0, 376, 138, 139, 0, 0, 378, 143, + 380, 73, 74, 381, 0, 146, 0, 0, 0, 148, + 383, 384, 0, 0, 0, 0, 0, 0, 385, 386, + 153, 154, 81, 82, 0, 83, 0, 0, 0, 84, + 0, 85, 387, 87, 0, 0, 389, 0, 0, 0, + 90, 0, 91, 0, -220, 0, 0, 0, 390, 0, + 93, 0, 0, 0, 391, 392, 393, 394, 98, 396, + 397, 398, 399, 400, 401, 0, 0, 388, 395, 382, + 377, 379, 158, 0, 0, 0, 0, - 463, 455, 251, 420, 462, 466, 412, 230, 430, 453, - 176, 277, 440, 173, 171, 444, 451, 274, 427, 428, - 445, 424, 449, 434, 369, 508, 353, 225, 358, 503, - 367, 360, 365, 362, 215, 11, 333, 331, 335, 127, - 516, 217, 220, 513, 223, 507, 326, 482, 492, 468, - 434, 490, 431, 256, 492, 431, 274, 500, 371, 497, - 486, 0, 401, 243, 496, 326, 111, 0, 111, 111, - 197, 0, 0, 200, 201, 326, 215, 255, 63, 249, - 45, 511, 0, 507, 0, 111, 111, 111, 111, 198, - 0, 203, 111, 202, 111, 111, 196, 326, 111, 208, - 290, 111, 111, 0, 210, 294, 310, 309, 111, 111, - 475, 248, 245, 111, 308, 273, 403, 329, 111, 404, - 447, 111, 326, 446, 111, 111, 111, 112, 178, 111, - 111, 122, 123, 111, 180, 121, 111, 111, 223, 354, - 326, 311, 312, 0, 111, 258, 471, 111, 111, 273, - 470, 111, 111, 446, 111, 0, 0, 199, 517, 111, - 204, 507, 111, 111, 356, 205, 111, 192, 111, 206, - 474, 111, 185, 473, 403, 111, 111, 404, 472, 111, - 294, 447, 327, 111, 111, 322, 0, 0, 294, 294, - 294, 63, 340, 45, 319, 322, 322, 111, 111, 337, - 294, 294, 294, 294, 111, 314, 0, 321, 322, 294, - 317, 313, 63, 294, 45, 111, 111, 324, 341, 322, - 294, 294, 302, 315, 294, 0, 111, 0, 0, 0, - 343, 294, 0, 0, 0, 297, 0, 0, 0, 0, - 0, 350, 0, 0, 0, 0, 0, 0, 0, 223, - 0, 0, 0, 0, 0, 0, 406, 0, 0, 0, + 275, 467, 250, 463, 257, 174, 456, 421, 464, 231, + 252, 454, 445, 177, 431, 428, 446, 278, 429, 425, + 441, 172, 450, 452, 435, 506, 354, 244, 226, 359, + 370, 22, 361, 368, 363, 366, 11, 332, 520, 334, + 336, 128, 224, 435, 218, 221, 503, 487, 327, 432, + 516, 216, 490, 0, 327, 469, 432, 486, 372, 497, + 498, 402, 493, 275, 112, 112, 501, 0, 497, 202, + 200, 112, 482, 482, 67, 199, 49, 112, 0, 112, + 22, 22, 201, 198, 0, 112, 112, 413, 112, 0, + 112, 112, 112, 291, 480, 204, 211, 203, 295, 112, + 209, 249, 0, 197, 404, 246, 22, 405, 112, 112, + 327, 112, 113, 310, 112, 112, 311, 448, 112, 309, + 476, 112, 112, 447, 274, 112, 112, 112, 179, 124, + 0, 312, 327, 112, 112, 123, 122, 112, 327, 327, + 216, 256, 313, 112, 112, 472, 274, 112, 224, 471, + 112, 224, 112, 328, 112, 407, 186, 193, 259, 404, + 205, 112, 405, 112, 112, 0, 112, 206, 447, 207, + 0, 0, 181, 507, 0, 330, 497, 112, 112, 448, + 473, 355, 357, 112, 112, 475, 474, 112, 112, 323, + 323, 112, 295, 295, 295, 295, 295, 67, 0, 49, + 323, 112, 320, 338, 341, 295, 295, 0, 323, 0, + 112, 322, 342, 295, 318, 295, 112, 315, 0, 112, + 112, 295, 344, 314, 295, 295, 323, 316, 298, 112, + 325, 295, 0, 0, 295, 0, 303, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 351, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 67, 0, 49, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 261, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 130, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 260, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0}; + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 131, 0, 0, 0, 0, 0, + 0}; const int JavaScriptGrammar::action_check [] = { - 29, 61, 60, 2, 48, 55, 7, 1, 33, 2, - 76, 33, 48, 33, 55, 76, 29, 8, 48, 76, - 7, 33, 60, 29, 1, 8, 61, 60, 8, 8, - 2, 29, 7, 36, 7, 17, 7, 7, 7, 36, - 5, 7, 5, 60, 5, 33, 36, 36, 29, 7, - 60, 36, 61, 60, 7, 29, 20, 33, 36, 8, - 55, 16, 1, 31, 85, 7, 2, 29, 60, 36, - 7, 55, 1, 29, 76, 0, 8, 36, 29, 65, - 85, 33, 36, 33, 29, 29, 29, 8, 29, 36, - 36, 48, 8, 33, 29, 55, 29, 7, 36, 29, - 17, 29, 36, 8, 7, 36, 29, 8, 7, 8, - 36, 8, 60, 36, 6, 8, 10, 8, 7, 7, - 42, 8, 8, 8, 8, 8, 15, 7, 20, 40, - 33, 53, 50, 40, 8, 15, 54, 61, 62, 7, - 51, 8, 29, 29, 51, 33, 8, 74, 33, 61, - 62, 8, 61, 62, 8, 8, 61, 61, 62, 60, - 12, 55, -1, 60, 29, 56, -1, 60, 40, 40, - 15, 61, 62, 56, 50, 25, 60, 27, 54, 51, - 51, 12, 56, 61, 62, 22, 61, 62, 38, 34, - 8, 36, 29, 60, -1, 15, 61, 62, 60, 56, - 25, 29, 27, 56, 12, 57, 60, 29, 25, -1, - 27, 63, -1, 38, 34, 25, 36, 27, 29, -1, - 8, 38, 25, 25, 27, 27, 57, 8, 38, 25, - 22, 27, 63, 61, 62, 38, 38, 29, -1, 61, - 62, 8, 38, 61, 62, -1, 25, 84, 27, 57, - 61, 62, 25, -1, 27, 63, 25, -1, 27, 38, - 25, 25, 27, 27, 25, 38, 27, -1, 22, 38, - 18, 19, 60, 38, 38, 29, 22, 38, 18, 19, - 61, 62, -1, 29, 18, 19, 18, 19, -1, -1, - 23, 24, 84, -1, 61, 62, -1, 45, 46, 32, - 15, 55, 35, -1, 37, 45, 46, -1, -1, 55, - -1, 45, 46, 45, 46, 23, 24, -1, -1, 34, - -1, 36, -1, 31, 32, 23, 24, 35, -1, 37, - 84, -1, -1, 31, 32, 23, 24, 35, 84, 37, - -1, -1, -1, 31, 32, 23, 24, 35, -1, 37, - -1, -1, 3, 31, 32, 23, 24, 35, -1, 37, - -1, -1, 13, 31, 32, -1, 17, 35, -1, 37, - 3, -1, -1, 23, 24, 26, -1, 28, -1, -1, - 13, -1, 32, -1, 17, 35, -1, 37, 39, -1, - 41, 42, -1, 26, -1, 28, -1, -1, 49, -1, - -1, 52, 53, -1, -1, -1, 39, 58, 41, 42, - -1, 12, 13, 64, -1, -1, 49, -1, -1, 52, - 53, 22, -1, -1, -1, 58, 77, -1, 29, -1, - -1, 64, 33, 34, -1, 36, -1, -1, 12, 13, - -1, -1, 43, -1, 77, -1, 47, -1, 22, -1, - -1, -1, -1, -1, -1, 29, -1, -1, -1, 33, - 34, -1, 36, -1, 65, -1, 67, -1, -1, 43, - -1, -1, -1, 47, -1, -1, -1, 78, 79, 80, + 61, 76, 76, 8, 48, 60, 60, 7, 17, 2, + 48, 29, 33, 8, 61, 1, 8, 29, 76, 36, + 48, 2, 5, 8, 8, 29, 33, 60, 29, 55, + 60, 5, 31, 55, 36, 55, 7, 7, 29, 55, + 7, 7, 7, 7, 7, 7, 36, 7, 36, 5, + 29, 29, 60, 33, 36, 1, 33, 16, 33, 20, + 36, 29, 60, 36, 61, 7, 85, 36, 7, 65, + 0, 60, 1, 76, 29, 29, 33, 8, 36, 85, + 33, 29, 29, 33, 36, 29, 29, 36, 33, 29, + 17, 7, -1, 8, 29, 36, 29, 48, 8, 7, + 36, 8, 74, 29, 36, 8, 8, 7, 36, 7, + 36, 8, 7, 8, 8, 15, 8, 15, 55, 42, + 8, 6, 60, 10, 8, 7, 7, 61, 62, 50, + 53, 8, 29, 54, 8, 20, 61, 62, 8, 61, + 62, 8, 2, 61, 62, 29, 50, 61, 62, 56, + 54, 33, 33, 56, 40, 61, 62, 8, 8, 61, + 61, 62, 40, 8, 56, 51, 60, 40, 55, 8, + 29, -1, 60, 51, 40, 15, -1, -1, 51, 25, + 12, 27, 56, 60, 25, 51, 27, 15, 33, 56, + 60, 25, 38, 27, 34, 8, 36, 38, 25, 25, + 27, 27, 61, 62, 38, 29, 34, 12, 36, 60, + 60, 38, 38, 25, 15, 27, 25, 25, 27, 27, + 12, 60, 8, 29, -1, 57, 38, 29, 8, 38, + 38, 63, 25, 34, 27, 36, 8, 61, 62, -1, + 25, 25, 27, 27, 25, 38, 27, -1, 61, 62, + 18, 19, 57, 38, 38, 61, 62, 38, 63, 61, + 62, -1, -1, 22, -1, 57, 18, 19, 18, 19, + 29, 63, 18, 19, 22, 61, 62, 45, 46, -1, + 60, 29, -1, -1, -1, -1, -1, -1, -1, 61, + 62, -1, -1, 45, 46, 45, 46, 23, 24, 45, + 46, -1, -1, 23, 24, -1, 32, 22, 25, 35, + 27, 37, 32, 72, 29, 35, -1, 37, 23, 24, + -1, 38, 81, -1, 72, 84, 31, 32, -1, -1, + 35, 22, 37, 81, 23, 24, 84, -1, 29, -1, + 55, -1, 31, 32, 23, 24, 35, -1, 37, -1, + -1, -1, 31, 32, -1, -1, 35, 72, 37, -1, + -1, -1, -1, -1, 55, -1, 81, 12, 13, 84, + -1, 23, 24, -1, -1, -1, -1, 22, -1, -1, + 32, 72, -1, 35, 29, 37, 12, 13, 33, 34, + 81, 36, -1, 84, -1, -1, 22, -1, 43, -1, + -1, -1, 47, 29, -1, -1, -1, 33, 34, -1, + 36, -1, -1, -1, -1, -1, -1, 43, -1, -1, + 65, 47, 67, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 3, 78, 79, 80, 23, 24, -1, 65, + -1, 67, 13, -1, 31, 32, 17, -1, 35, -1, + 37, -1, 78, 79, 80, 26, -1, 28, -1, -1, + 31, -1, -1, -1, -1, -1, -1, -1, 39, -1, + 41, 42, -1, -1, -1, -1, -1, -1, 49, -1, + -1, 52, 53, -1, -1, -1, -1, 58, -1, -1, + -1, -1, -1, 64, -1, -1, -1, -1, -1, -1, + -1, 3, -1, -1, -1, -1, 77, -1, -1, -1, + -1, 13, -1, -1, -1, 17, -1, -1, -1, -1, + -1, -1, -1, -1, 26, -1, 28, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, 39, -1, 41, + 42, -1, -1, -1, -1, -1, -1, 49, -1, -1, + 52, 53, -1, -1, -1, -1, 58, -1, -1, -1, + -1, -1, 64, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, 77, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, 11, 12, 13, -1, + -1, -1, -1, -1, -1, -1, -1, 22, -1, -1, + -1, -1, -1, -1, 29, -1, -1, -1, 33, 34, + -1, 36, -1, -1, -1, 40, -1, 42, 43, 44, + -1, -1, 47, -1, -1, -1, 51, -1, 53, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 65, -1, 67, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 78, 79, 80, -1, -1, -1, - -1, -1, -1, -1, 3, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 13, -1, -1, -1, 17, -1, - -1, -1, -1, -1, -1, -1, -1, 26, -1, 28, - -1, -1, 31, -1, -1, -1, -1, -1, -1, -1, - 39, -1, 41, 42, -1, -1, -1, -1, -1, -1, - 49, -1, -1, 52, 53, -1, -1, -1, -1, 58, - -1, -1, -1, -1, -1, 64, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, 77, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, 11, - 12, 13, -1, -1, -1, -1, -1, -1, -1, -1, - 22, -1, -1, -1, -1, -1, -1, 29, -1, -1, - -1, 33, 34, -1, 36, -1, -1, -1, 40, -1, - 42, 43, 44, -1, -1, 47, -1, -1, -1, 51, - -1, 53, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 65, -1, 67, -1, 69, -1, 71, - -1, 73, -1, -1, -1, -1, 78, 79, 80, -1, - -1, -1, -1, -1, -1, -1, 7, -1, -1, -1, - 11, 12, 13, -1, -1, -1, -1, -1, -1, -1, - -1, 22, -1, -1, -1, -1, -1, -1, 29, -1, - -1, -1, 33, 34, -1, 36, -1, -1, -1, 40, - -1, 42, 43, 44, -1, -1, 47, -1, -1, -1, - 51, -1, 53, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, 65, -1, 67, -1, 69, -1, - 71, -1, 73, -1, -1, -1, -1, 78, 79, 80, - -1, -1, -1, -1, -1, -1, -1, 11, 12, 13, + 65, -1, 67, -1, 69, -1, 71, -1, 73, -1, + -1, -1, -1, 78, 79, 80, -1, -1, -1, -1, + -1, -1, -1, 7, -1, -1, -1, 11, 12, 13, -1, -1, -1, -1, -1, -1, -1, -1, 22, -1, -1, -1, -1, -1, -1, 29, -1, -1, -1, 33, 34, -1, 36, -1, -1, -1, 40, -1, 42, 43, 44, -1, -1, 47, -1, -1, -1, 51, -1, 53, - -1, -1, 56, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 65, -1, 67, -1, 69, -1, 71, -1, 73, -1, -1, -1, -1, 78, 79, 80, -1, -1, -1, -1, -1, -1, -1, 11, 12, 13, -1, -1, -1, -1, -1, -1, -1, -1, 22, -1, -1, -1, -1, -1, -1, 29, -1, -1, -1, 33, 34, -1, 36, -1, -1, -1, 40, -1, 42, 43, 44, -1, -1, - 47, -1, -1, -1, 51, -1, 53, -1, -1, -1, + 47, -1, -1, -1, 51, -1, 53, -1, -1, 56, -1, -1, -1, -1, -1, -1, -1, -1, 65, -1, - 67, -1, 69, -1, 71, 72, 73, -1, -1, -1, + 67, -1, 69, -1, 71, -1, 73, -1, -1, -1, -1, 78, 79, 80, -1, -1, -1, -1, -1, -1, -1, 11, 12, 13, -1, -1, -1, -1, -1, -1, -1, -1, 22, -1, -1, -1, -1, -1, -1, 29, @@ -550,106 +546,117 @@ const int JavaScriptGrammar::action_check [] = { -1, 51, -1, 53, -1, -1, 56, -1, -1, -1, -1, -1, -1, -1, -1, 65, -1, 67, -1, 69, -1, 71, -1, 73, -1, -1, -1, -1, 78, 79, - 80, -1, -1, -1, -1, -1, -1, -1, 4, 5, - 6, -1, -1, 9, 10, 11, -1, -1, 14, -1, - 16, -1, -1, -1, 20, 21, 22, -1, -1, -1, - -1, -1, -1, 29, 30, 31, 32, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 43, -1, -1, + 80, -1, -1, -1, -1, -1, -1, -1, 11, 12, + 13, -1, -1, -1, -1, -1, -1, -1, -1, 22, + -1, -1, -1, -1, -1, -1, 29, -1, -1, -1, + 33, 34, -1, 36, -1, -1, -1, 40, -1, 42, + 43, 44, -1, -1, 47, -1, -1, -1, 51, -1, + 53, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 65, -1, 67, -1, 69, -1, 71, 72, + 73, -1, -1, -1, -1, 78, 79, 80, -1, -1, + -1, -1, -1, -1, -1, 4, 5, 6, -1, -1, + 9, 10, 11, -1, -1, 14, -1, 16, -1, -1, + -1, 20, 21, 22, -1, -1, -1, -1, -1, -1, + 29, 30, 31, 32, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 43, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, 59, -1, -1, -1, -1, -1, -1, - 66, 67, 68, -1, 70, 71, 72, 73, 74, 75, - -1, -1, 78, 79, 80, 81, 82, 83, -1, -1, - -1, -1, 4, 5, 6, -1, -1, 9, 10, 11, - -1, -1, 14, -1, 16, -1, -1, -1, 20, 21, - 22, -1, -1, -1, -1, -1, -1, 29, 30, 31, - 32, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 43, -1, -1, -1, 47, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 59, -1, -1, - -1, -1, -1, 65, 66, 67, 68, -1, 70, 71, - 72, 73, 74, 75, -1, -1, 78, 79, 80, 81, - 82, 83, -1, -1, -1, -1, 4, 5, 6, -1, - -1, 9, 10, 11, -1, -1, 14, -1, 16, -1, - -1, -1, 20, 21, 22, -1, -1, -1, -1, -1, - -1, 29, 30, 31, 32, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, 43, -1, -1, -1, 47, - -1, -1, -1, -1, -1, -1, -1, 55, -1, -1, - -1, 59, -1, -1, -1, -1, -1, 65, 66, 67, - 68, -1, 70, 71, 72, 73, 74, 75, -1, -1, - 78, 79, 80, 81, 82, 83, -1, -1, -1, -1, - 4, -1, -1, -1, -1, 9, -1, 11, 12, 13, - 14, -1, -1, -1, -1, -1, -1, 21, 22, -1, - -1, -1, -1, -1, -1, 29, 30, -1, -1, 33, - 34, -1, 36, -1, -1, -1, 40, -1, 42, 43, - 44, -1, -1, 47, -1, -1, -1, 51, -1, 53, - -1, -1, -1, -1, -1, 59, -1, 61, -1, -1, - -1, 65, 66, 67, 68, 69, 70, 71, 72, 73, - 74, 75, -1, -1, 78, 79, 80, 81, 82, -1, - -1, -1, -1, -1, 4, -1, -1, -1, -1, 9, - -1, 11, 12, 13, 14, -1, -1, -1, -1, -1, - -1, 21, 22, -1, -1, -1, -1, -1, -1, 29, - 30, -1, -1, 33, 34, -1, 36, -1, -1, -1, - 40, -1, 42, 43, 44, -1, -1, 47, -1, -1, - -1, 51, -1, 53, -1, -1, -1, -1, -1, 59, - -1, 61, -1, -1, -1, 65, 66, 67, 68, 69, - 70, 71, 72, 73, 74, 75, -1, -1, 78, 79, - 80, 81, 82, -1, -1, -1, -1, -1, 4, -1, - -1, -1, -1, 9, -1, 11, 12, 13, 14, -1, - -1, -1, -1, -1, -1, 21, 22, -1, -1, -1, - -1, -1, -1, 29, 30, -1, -1, 33, 34, -1, - 36, -1, -1, -1, 40, -1, 42, 43, 44, -1, - -1, 47, -1, -1, -1, 51, -1, 53, -1, -1, - -1, -1, -1, 59, -1, 61, -1, -1, -1, 65, - 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, - -1, -1, 78, 79, 80, 81, 82, -1, -1, -1, - -1, -1, 4, -1, -1, -1, -1, 9, -1, 11, - 12, 13, 14, -1, -1, -1, -1, -1, -1, 21, - 22, -1, -1, -1, -1, -1, -1, 29, 30, -1, - -1, 33, 34, -1, 36, -1, -1, -1, 40, -1, - 42, 43, 44, -1, -1, 47, -1, -1, -1, 51, - -1, 53, -1, -1, -1, -1, -1, 59, -1, 61, - -1, -1, -1, 65, 66, 67, 68, 69, 70, 71, - 72, 73, 74, 75, -1, -1, 78, 79, 80, 81, - 82, -1, -1, -1, -1, -1, 4, 5, 6, -1, - -1, 9, 10, 11, 12, 13, 14, -1, 16, -1, - -1, -1, 20, 21, 22, -1, -1, -1, -1, -1, - -1, 29, 30, 31, 32, 33, 34, -1, 36, -1, - -1, -1, 40, -1, 42, 43, 44, -1, -1, 47, - -1, -1, -1, 51, -1, 53, -1, 55, -1, -1, - -1, 59, -1, 61, -1, -1, -1, 65, 66, 67, - 68, 69, 70, 71, 72, 73, 74, 75, -1, -1, - 78, 79, 80, 81, 82, 83, -1, -1, -1, -1, + 59, -1, -1, -1, -1, -1, -1, 66, 67, 68, + -1, 70, 71, 72, 73, 74, 75, -1, -1, 78, + 79, 80, 81, 82, 83, -1, -1, -1, -1, 4, + 5, 6, -1, -1, 9, 10, 11, -1, -1, 14, + -1, 16, -1, -1, -1, 20, 21, 22, -1, -1, + -1, -1, -1, -1, 29, 30, 31, 32, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 43, -1, + -1, -1, 47, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 59, -1, -1, -1, -1, -1, + 65, 66, 67, 68, -1, 70, 71, 72, 73, 74, + 75, -1, -1, 78, 79, 80, 81, 82, 83, -1, + -1, -1, -1, 4, 5, 6, -1, -1, 9, 10, + 11, -1, -1, 14, -1, 16, -1, -1, -1, 20, + 21, 22, -1, -1, -1, -1, -1, -1, 29, 30, + 31, 32, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 43, -1, -1, -1, 47, -1, -1, -1, + -1, -1, -1, -1, 55, -1, -1, -1, 59, -1, + -1, -1, -1, -1, 65, 66, 67, 68, -1, 70, + 71, 72, 73, 74, 75, -1, -1, 78, 79, 80, + 81, 82, 83, -1, -1, -1, -1, 4, -1, -1, + -1, -1, 9, -1, 11, 12, 13, 14, -1, -1, + -1, -1, -1, -1, 21, 22, -1, -1, -1, -1, + -1, -1, 29, 30, -1, -1, 33, 34, -1, 36, + -1, -1, -1, 40, -1, 42, 43, 44, -1, -1, + 47, -1, -1, -1, 51, -1, 53, -1, -1, -1, + -1, -1, 59, -1, 61, -1, -1, -1, 65, 66, + 67, 68, 69, 70, 71, 72, 73, 74, 75, -1, + -1, 78, 79, 80, 81, 82, -1, -1, -1, -1, + -1, 4, -1, -1, -1, -1, 9, -1, 11, 12, + 13, 14, -1, -1, -1, -1, -1, -1, 21, 22, + -1, -1, -1, -1, -1, -1, 29, 30, -1, -1, + 33, 34, -1, 36, -1, -1, -1, 40, -1, 42, + 43, 44, -1, -1, 47, -1, -1, -1, 51, -1, + 53, -1, -1, -1, -1, -1, 59, -1, 61, -1, + -1, -1, 65, 66, 67, 68, 69, 70, 71, 72, + 73, 74, 75, -1, -1, 78, 79, 80, 81, 82, + -1, -1, -1, -1, -1, 4, -1, -1, -1, -1, + 9, -1, 11, 12, 13, 14, -1, -1, -1, -1, + -1, -1, 21, 22, -1, -1, -1, -1, -1, -1, + 29, 30, -1, -1, 33, 34, -1, 36, -1, -1, + -1, 40, -1, 42, 43, 44, -1, -1, 47, -1, + -1, -1, 51, -1, 53, -1, -1, -1, -1, -1, + 59, -1, 61, -1, -1, -1, 65, 66, 67, 68, + 69, 70, 71, 72, 73, 74, 75, -1, -1, 78, + 79, 80, 81, 82, -1, -1, -1, -1, -1, 4, + -1, -1, -1, -1, 9, -1, 11, 12, 13, 14, + -1, -1, -1, -1, -1, -1, 21, 22, -1, -1, + -1, -1, -1, -1, 29, 30, -1, -1, 33, 34, + -1, 36, -1, -1, -1, 40, -1, 42, 43, 44, + -1, -1, 47, -1, -1, -1, 51, -1, 53, -1, + -1, -1, -1, -1, 59, -1, 61, -1, -1, -1, + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, + 75, -1, -1, 78, 79, 80, 81, 82, -1, -1, + -1, -1, -1, 4, 5, 6, -1, -1, 9, 10, + 11, 12, 13, 14, -1, 16, -1, -1, -1, 20, + 21, 22, -1, -1, -1, -1, -1, -1, 29, 30, + 31, 32, 33, 34, -1, 36, -1, -1, -1, 40, + -1, 42, 43, 44, -1, -1, 47, -1, -1, -1, + 51, -1, 53, -1, 55, -1, -1, -1, 59, -1, + 61, -1, -1, -1, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, -1, -1, 78, 79, 80, + 81, 82, 83, -1, -1, -1, -1, - 19, 11, 19, 87, 15, 19, 12, 53, 72, 12, - 19, 12, 89, 21, 19, 57, 11, 11, 72, 12, - 57, 84, 12, 57, 11, 9, 78, 19, 11, 9, - 12, 12, 11, 11, 22, 5, 12, 11, 11, 90, - 9, 12, 19, 11, 19, 10, 12, 19, 6, 12, - 57, 2, 12, 12, 6, 12, 11, 11, 11, 9, - 76, -1, 11, 19, 12, 12, 30, -1, 30, 30, - 34, -1, -1, 35, 35, 12, 22, 23, 11, 19, - 13, 8, -1, 10, -1, 30, 30, 30, 30, 34, - -1, 35, 30, 35, 30, 30, 34, 12, 30, 42, - 30, 30, 30, -1, 40, 35, 35, 35, 30, 30, - 32, 46, 44, 30, 35, 32, 24, 54, 30, 27, - 32, 30, 12, 32, 30, 30, 30, 33, 33, 30, - 30, 32, 32, 30, 38, 32, 30, 30, 19, 54, - 12, 35, 35, -1, 30, 26, 32, 30, 30, 32, - 32, 30, 30, 32, 30, -1, -1, 35, 7, 30, - 36, 10, 30, 30, 54, 36, 30, 35, 30, 36, - 32, 30, 36, 32, 24, 30, 30, 27, 32, 30, - 35, 32, 54, 30, 30, 30, -1, -1, 35, 35, - 35, 11, 47, 13, 41, 30, 30, 30, 30, 45, - 35, 35, 35, 35, 30, 37, -1, 52, 30, 35, - 43, 37, 11, 35, 13, 30, 30, 52, 52, 30, - 35, 35, 37, 37, 35, -1, 30, -1, -1, -1, - 52, 35, -1, -1, -1, 39, -1, -1, -1, -1, - -1, 52, -1, -1, -1, -1, -1, -1, -1, 19, - -1, -1, -1, -1, -1, -1, 26, -1, -1, -1, + 11, 20, 20, 16, 12, 22, 11, 87, 20, 54, + 20, 12, 58, 20, 72, 72, 58, 12, 12, 84, + 89, 20, 12, 11, 58, 9, 78, 20, 20, 11, + 11, 14, 12, 12, 11, 11, 5, 11, 76, 12, + 11, 90, 20, 58, 12, 20, 11, 9, 12, 12, + 20, 23, 11, -1, 12, 12, 12, 12, 11, 10, + 9, 11, 9, 11, 31, 31, 8, -1, 10, 36, + 36, 31, 6, 6, 11, 35, 13, 31, -1, 31, + 14, 14, 36, 35, -1, 31, 31, 12, 31, -1, + 31, 31, 31, 31, 2, 36, 41, 36, 36, 31, + 43, 47, -1, 35, 25, 45, 14, 28, 31, 31, + 12, 31, 34, 36, 31, 31, 36, 33, 31, 36, + 33, 31, 31, 33, 33, 31, 31, 31, 34, 33, + -1, 36, 12, 31, 31, 33, 33, 31, 12, 12, + 23, 24, 36, 31, 31, 33, 33, 31, 20, 33, + 31, 20, 31, 55, 31, 27, 37, 36, 27, 25, + 37, 31, 28, 31, 31, -1, 31, 37, 33, 37, + -1, -1, 39, 7, -1, 55, 10, 31, 31, 33, + 33, 55, 55, 31, 31, 33, 33, 31, 31, 31, + 31, 31, 36, 36, 36, 36, 36, 11, -1, 13, + 31, 31, 42, 46, 48, 36, 36, -1, 31, -1, + 31, 53, 53, 36, 44, 36, 31, 38, -1, 31, + 31, 36, 53, 38, 36, 36, 31, 38, 40, 31, + 53, 36, -1, -1, 36, -1, 38, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, 53, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, 11, -1, 13, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, 96, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, 91, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, 96, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1}; + -1, -1, -1, -1, 91, -1, -1, -1, -1, -1, + -1}; diff --git a/src/declarative/qml/parser/javascriptgrammar_p.h b/src/declarative/qml/parser/javascriptgrammar_p.h index 3d52a9e..aac4c7e 100644 --- a/src/declarative/qml/parser/javascriptgrammar_p.h +++ b/src/declarative/qml/parser/javascriptgrammar_p.h @@ -96,14 +96,14 @@ public: T_XOR_EQ = 77, ACCEPT_STATE = 7, - RULE_COUNT = 296, - STATE_COUNT = 520, + RULE_COUNT = 297, + STATE_COUNT = 521, TERMINAL_COUNT = 88, NON_TERMINAL_COUNT = 98, - GOTO_INDEX_OFFSET = 520, - GOTO_INFO_OFFSET = 1660, - GOTO_CHECK_OFFSET = 1660 + GOTO_INDEX_OFFSET = 521, + GOTO_INFO_OFFSET = 1647, + GOTO_CHECK_OFFSET = 1647 }; static const char *const spell []; diff --git a/src/declarative/qml/parser/javascriptparser.cpp b/src/declarative/qml/parser/javascriptparser.cpp index 11d7e4b..af55b27 100644 --- a/src/declarative/qml/parser/javascriptparser.cpp +++ b/src/declarative/qml/parser/javascriptparser.cpp @@ -284,62 +284,69 @@ case 24: { sym(1).Node = node; } break; +case 25: { + sym(1).Node = makeAstNode<AST::UiSourceElement>(driver->nodePool(), sym(1).Statement); +} break; case 26: { + sym(1).Node = makeAstNode<AST::UiSourceElement>(driver->nodePool(), sym(1).Statement); +} break; + +case 27: { AST::UiQualifiedId *node = makeAstNode<AST::UiQualifiedId> (driver->nodePool(), sym(1).sval); node->identifierToken = loc(1); sym(1).Node = node; } break; -case 27: { +case 28: { AST::UiQualifiedId *node = makeAstNode<AST::UiQualifiedId> (driver->nodePool(), sym(1).UiQualifiedId, sym(3).sval); node->identifierToken = loc(3); sym(1).Node = node; } break; -case 28: { +case 29: { AST::ThisExpression *node = makeAstNode<AST::ThisExpression> (driver->nodePool()); node->thisToken = loc(1); sym(1).Node = node; } break; -case 29: { +case 30: { AST::IdentifierExpression *node = makeAstNode<AST::IdentifierExpression> (driver->nodePool(), sym(1).sval); node->identifierToken = loc(1); sym(1).Node = node; } break; -case 30: { +case 31: { AST::NullExpression *node = makeAstNode<AST::NullExpression> (driver->nodePool()); node->nullToken = loc(1); sym(1).Node = node; } break; -case 31: { +case 32: { AST::TrueLiteral *node = makeAstNode<AST::TrueLiteral> (driver->nodePool()); node->trueToken = loc(1); sym(1).Node = node; } break; -case 32: { +case 33: { AST::FalseLiteral *node = makeAstNode<AST::FalseLiteral> (driver->nodePool()); node->falseToken = loc(1); sym(1).Node = node; } break; -case 33: { +case 34: { AST::NumericLiteral *node = makeAstNode<AST::NumericLiteral> (driver->nodePool(), sym(1).dval); node->literalToken = loc(1); sym(1).Node = node; } break; -case 34: { +case 35: { AST::StringLiteral *node = makeAstNode<AST::StringLiteral> (driver->nodePool(), sym(1).sval); node->literalToken = loc(1); sym(1).Node = node; } break; -case 35: { +case 36: { bool rx = lexer->scanRegExp(Lexer::NoPrefix); if (!rx) { diagnostic_messages.append(DiagnosticMessage(DiagnosticMessage::Error, lexer->startLineNo(), @@ -351,7 +358,7 @@ case 35: { sym(1).Node = node; } break; -case 36: { +case 37: { bool rx = lexer->scanRegExp(Lexer::EqualPrefix); if (!rx) { diagnostic_messages.append(DiagnosticMessage(DiagnosticMessage::Error, lexer->startLineNo(), @@ -363,83 +370,81 @@ case 36: { sym(1).Node = node; } break; -case 37: { +case 38: { sym(1).Node = makeAstNode<AST::ArrayLiteral> (driver->nodePool(), sym(2).Elision); } break; -case 38: { +case 39: { sym(1).Node = makeAstNode<AST::ArrayLiteral> (driver->nodePool(), sym(2).ElementList->finish ()); } break; -case 39: { +case 40: { sym(1).Node = makeAstNode<AST::ArrayLiteral> (driver->nodePool(), sym(2).ElementList->finish (), sym(4).Elision); } break; -case 40: { +case 41: { if (sym(2).Node) sym(1).Node = makeAstNode<AST::ObjectLiteral> (driver->nodePool(), sym(2).PropertyNameAndValueList->finish ()); else sym(1).Node = makeAstNode<AST::ObjectLiteral> (driver->nodePool()); } break; -case 41: { +case 42: { sym(1).Node = makeAstNode<AST::ObjectLiteral> (driver->nodePool(), sym(2).PropertyNameAndValueList->finish ()); } break; -case 42: { +case 43: { sym(1) = sym(2); } break; -case 43: { +case 44: { sym(1).Node = makeAstNode<AST::ElementList> (driver->nodePool(), sym(1).Elision, sym(2).Expression); } break; -case 44: { +case 45: { sym(1).Node = makeAstNode<AST::ElementList> (driver->nodePool(), sym(1).ElementList, sym(3).Elision, sym(4).Expression); } break; -case 45: { +case 46: { sym(1).Node = makeAstNode<AST::Elision> (driver->nodePool()); } break; -case 46: { +case 47: { sym(1).Node = makeAstNode<AST::Elision> (driver->nodePool(), sym(1).Elision); } break; -case 47: { +case 48: { sym(1).Node = 0; } break; -case 48: { +case 49: { sym(1).Elision = sym(1).Elision->finish (); } break; -case 49: { +case 50: { sym(1).Node = makeAstNode<AST::PropertyNameAndValueList> (driver->nodePool(), sym(1).PropertyName, sym(3).Expression); } break; -case 50: { +case 51: { sym(1).Node = makeAstNode<AST::PropertyNameAndValueList> (driver->nodePool(), sym(1).PropertyNameAndValueList, sym(3).PropertyName, sym(5).Expression); } break; -case 51: { +case 52: { sym(1).Node = makeAstNode<AST::IdentifierPropertyName> (driver->nodePool(), sym(1).sval); } break; -case 52: { +case 53: { sym(1).Node = makeAstNode<AST::StringLiteralPropertyName> (driver->nodePool(), sym(1).sval); } break; -case 53: { +case 54: { sym(1).Node = makeAstNode<AST::NumericLiteralPropertyName> (driver->nodePool(), sym(1).dval); } break; -case 54: { +case 55: { sym(1).Node = makeAstNode<AST::IdentifierPropertyName> (driver->nodePool(), sym(1).sval); } break; -case 55: - case 56: case 57: @@ -499,22 +504,24 @@ case 83: case 84: case 85: + +case 86: { sym(1).sval = driver->intern(lexer->characterBuffer(), lexer->characterCount()); } break; -case 90: { +case 91: { sym(1).Node = makeAstNode<AST::ArrayMemberExpression> (driver->nodePool(), sym(1).Expression, sym(3).Expression); } break; -case 91: { +case 92: { AST::FieldMemberExpression *node = makeAstNode<AST::FieldMemberExpression> (driver->nodePool(), sym(1).Expression, sym(3).sval); node->dotToken = loc(2); node->identifierToken = loc(3); sym(1).Node = node; } break; -case 92: { +case 93: { AST::NewMemberExpression *node = makeAstNode<AST::NewMemberExpression> (driver->nodePool(), sym(2).Expression, sym(4).ArgumentList); node->newToken = loc(1); node->lparenToken = loc(3); @@ -522,541 +529,541 @@ case 92: { sym(1).Node = node; } break; -case 94: { +case 95: { AST::NewExpression *node = makeAstNode<AST::NewExpression> (driver->nodePool(), sym(2).Expression); node->newToken = loc(1); sym(1).Node = node; } break; -case 95: { +case 96: { AST::CallExpression *node = makeAstNode<AST::CallExpression> (driver->nodePool(), sym(1).Expression, sym(3).ArgumentList); node->lparenToken = loc(2); node->rparenToken = loc(4); sym(1).Node = node; } break; -case 96: { +case 97: { AST::CallExpression *node = makeAstNode<AST::CallExpression> (driver->nodePool(), sym(1).Expression, sym(3).ArgumentList); node->lparenToken = loc(2); node->rparenToken = loc(4); sym(1).Node = node; } break; -case 97: { +case 98: { sym(1).Node = makeAstNode<AST::ArrayMemberExpression> (driver->nodePool(), sym(1).Expression, sym(3).Expression); } break; -case 98: { +case 99: { AST::FieldMemberExpression *node = makeAstNode<AST::FieldMemberExpression> (driver->nodePool(), sym(1).Expression, sym(3).sval); node->dotToken = loc(2); node->identifierToken = loc(3); sym(1).Node = node; } break; -case 99: { +case 100: { sym(1).Node = 0; } break; -case 100: { +case 101: { sym(1).Node = sym(1).ArgumentList->finish(); } break; -case 101: { +case 102: { sym(1).Node = makeAstNode<AST::ArgumentList> (driver->nodePool(), sym(1).Expression); } break; -case 102: { +case 103: { AST::ArgumentList *node = makeAstNode<AST::ArgumentList> (driver->nodePool(), sym(1).ArgumentList, sym(3).Expression); node->commaToken = loc(2); sym(1).Node = node; } break; -case 106: { +case 107: { sym(1).Node = makeAstNode<AST::PostIncrementExpression> (driver->nodePool(), sym(1).Expression); } break; -case 107: { +case 108: { sym(1).Node = makeAstNode<AST::PostDecrementExpression> (driver->nodePool(), sym(1).Expression); } break; -case 109: { +case 110: { sym(1).Node = makeAstNode<AST::DeleteExpression> (driver->nodePool(), sym(2).Expression); } break; -case 110: { +case 111: { sym(1).Node = makeAstNode<AST::VoidExpression> (driver->nodePool(), sym(2).Expression); } break; -case 111: { +case 112: { sym(1).Node = makeAstNode<AST::TypeOfExpression> (driver->nodePool(), sym(2).Expression); } break; -case 112: { +case 113: { sym(1).Node = makeAstNode<AST::PreIncrementExpression> (driver->nodePool(), sym(2).Expression); } break; -case 113: { +case 114: { sym(1).Node = makeAstNode<AST::PreDecrementExpression> (driver->nodePool(), sym(2).Expression); } break; -case 114: { +case 115: { sym(1).Node = makeAstNode<AST::UnaryPlusExpression> (driver->nodePool(), sym(2).Expression); } break; -case 115: { +case 116: { sym(1).Node = makeAstNode<AST::UnaryMinusExpression> (driver->nodePool(), sym(2).Expression); } break; -case 116: { +case 117: { sym(1).Node = makeAstNode<AST::TildeExpression> (driver->nodePool(), sym(2).Expression); } break; -case 117: { +case 118: { sym(1).Node = makeAstNode<AST::NotExpression> (driver->nodePool(), sym(2).Expression); } break; -case 119: { +case 120: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Mul, sym(3).Expression); } break; -case 120: { +case 121: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Div, sym(3).Expression); } break; -case 121: { +case 122: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Mod, sym(3).Expression); } break; -case 123: { +case 124: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Add, sym(3).Expression); } break; -case 124: { +case 125: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Sub, sym(3).Expression); } break; -case 126: { +case 127: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::LShift, sym(3).Expression); } break; -case 127: { +case 128: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::RShift, sym(3).Expression); } break; -case 128: { +case 129: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::URShift, sym(3).Expression); } break; -case 130: { +case 131: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Lt, sym(3).Expression); } break; -case 131: { +case 132: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Gt, sym(3).Expression); } break; -case 132: { +case 133: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Le, sym(3).Expression); } break; -case 133: { +case 134: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Ge, sym(3).Expression); } break; -case 134: { +case 135: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::InstanceOf, sym(3).Expression); } break; -case 135: { +case 136: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::In, sym(3).Expression); } break; -case 137: { +case 138: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Lt, sym(3).Expression); } break; -case 138: { +case 139: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Gt, sym(3).Expression); } break; -case 139: { +case 140: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Le, sym(3).Expression); } break; -case 140: { +case 141: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Ge, sym(3).Expression); } break; -case 141: { +case 142: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::InstanceOf, sym(3).Expression); } break; -case 143: { +case 144: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Equal, sym(3).Expression); } break; -case 144: { +case 145: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::NotEqual, sym(3).Expression); } break; -case 145: { +case 146: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::StrictEqual, sym(3).Expression); } break; -case 146: { +case 147: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::StrictNotEqual, sym(3).Expression); } break; -case 148: { +case 149: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Equal, sym(3).Expression); } break; -case 149: { +case 150: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::NotEqual, sym(3).Expression); } break; -case 150: { +case 151: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::StrictEqual, sym(3).Expression); } break; -case 151: { +case 152: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::StrictNotEqual, sym(3).Expression); } break; -case 153: { +case 154: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::BitAnd, sym(3).Expression); } break; -case 155: { +case 156: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::BitAnd, sym(3).Expression); } break; -case 157: { +case 158: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::BitXor, sym(3).Expression); } break; -case 159: { +case 160: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::BitXor, sym(3).Expression); } break; -case 161: { +case 162: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::BitOr, sym(3).Expression); } break; -case 163: { +case 164: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::BitOr, sym(3).Expression); } break; -case 165: { +case 166: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::And, sym(3).Expression); } break; -case 167: { +case 168: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::And, sym(3).Expression); } break; -case 169: { +case 170: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Or, sym(3).Expression); } break; -case 171: { +case 172: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, QSOperator::Or, sym(3).Expression); } break; -case 173: { +case 174: { sym(1).Node = makeAstNode<AST::ConditionalExpression> (driver->nodePool(), sym(1).Expression, sym(3).Expression, sym(5).Expression); } break; -case 175: { +case 176: { sym(1).Node = makeAstNode<AST::ConditionalExpression> (driver->nodePool(), sym(1).Expression, sym(3).Expression, sym(5).Expression); } break; -case 177: { +case 178: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, sym(2).ival, sym(3).Expression); } break; -case 179: { +case 180: { sym(1).Node = makeAstNode<AST::BinaryExpression> (driver->nodePool(), sym(1).Expression, sym(2).ival, sym(3).Expression); } break; -case 180: { +case 181: { sym(1).ival = QSOperator::Assign; } break; -case 181: { +case 182: { sym(1).ival = QSOperator::InplaceMul; } break; -case 182: { +case 183: { sym(1).ival = QSOperator::InplaceDiv; } break; -case 183: { +case 184: { sym(1).ival = QSOperator::InplaceMod; } break; -case 184: { +case 185: { sym(1).ival = QSOperator::InplaceAdd; } break; -case 185: { +case 186: { sym(1).ival = QSOperator::InplaceSub; } break; -case 186: { +case 187: { sym(1).ival = QSOperator::InplaceLeftShift; } break; -case 187: { +case 188: { sym(1).ival = QSOperator::InplaceRightShift; } break; -case 188: { +case 189: { sym(1).ival = QSOperator::InplaceURightShift; } break; -case 189: { +case 190: { sym(1).ival = QSOperator::InplaceAnd; } break; -case 190: { +case 191: { sym(1).ival = QSOperator::InplaceXor; } break; -case 191: { +case 192: { sym(1).ival = QSOperator::InplaceOr; } break; -case 193: { +case 194: { sym(1).Node = makeAstNode<AST::Expression> (driver->nodePool(), sym(1).Expression, sym(3).Expression); } break; -case 194: { +case 195: { sym(1).Node = 0; } break; -case 197: { +case 198: { sym(1).Node = makeAstNode<AST::Expression> (driver->nodePool(), sym(1).Expression, sym(3).Expression); } break; -case 198: { +case 199: { sym(1).Node = 0; } break; -case 215: { +case 216: { sym(1).Node = makeAstNode<AST::Block> (driver->nodePool(), sym(2).StatementList); } break; -case 216: { +case 217: { sym(1).Node = makeAstNode<AST::StatementList> (driver->nodePool(), sym(1).Statement); } break; -case 217: { +case 218: { sym(1).Node = makeAstNode<AST::StatementList> (driver->nodePool(), sym(1).StatementList, sym(2).Statement); } break; -case 218: { +case 219: { sym(1).Node = 0; } break; -case 219: { +case 220: { sym(1).Node = sym(1).StatementList->finish (); } break; -case 221: { +case 222: { AST::VariableStatement *node = makeAstNode<AST::VariableStatement> (driver->nodePool(), sym(2).VariableDeclarationList->finish (/*readOnly=*/sym(1).ival == T_CONST)); node->declarationKindToken = loc(1); node->semicolonToken = loc(3); sym(1).Node = node; } break; -case 222: { +case 223: { sym(1).ival = T_CONST; } break; -case 223: { +case 224: { sym(1).ival = T_VAR; } break; -case 224: { +case 225: { sym(1).Node = makeAstNode<AST::VariableDeclarationList> (driver->nodePool(), sym(1).VariableDeclaration); } break; -case 225: { +case 226: { sym(1).Node = makeAstNode<AST::VariableDeclarationList> (driver->nodePool(), sym(1).VariableDeclarationList, sym(3).VariableDeclaration); } break; -case 226: { +case 227: { sym(1).Node = makeAstNode<AST::VariableDeclarationList> (driver->nodePool(), sym(1).VariableDeclaration); } break; -case 227: { +case 228: { sym(1).Node = makeAstNode<AST::VariableDeclarationList> (driver->nodePool(), sym(1).VariableDeclarationList, sym(3).VariableDeclaration); } break; -case 228: { +case 229: { AST::VariableDeclaration *node = makeAstNode<AST::VariableDeclaration> (driver->nodePool(), sym(1).sval, sym(2).Expression); node->identifierToken = loc(1); sym(1).Node = node; } break; -case 229: { +case 230: { AST::VariableDeclaration *node = makeAstNode<AST::VariableDeclaration> (driver->nodePool(), sym(1).sval, sym(2).Expression); node->identifierToken = loc(1); sym(1).Node = node; } break; -case 230: { +case 231: { sym(1) = sym(2); } break; -case 231: { +case 232: { sym(1).Node = 0; } break; -case 233: { +case 234: { sym(1) = sym(2); } break; -case 234: { +case 235: { sym(1).Node = 0; } break; -case 236: { +case 237: { sym(1).Node = makeAstNode<AST::EmptyStatement> (driver->nodePool()); } break; -case 238: { +case 239: { AST::ExpressionStatement *node = makeAstNode<AST::ExpressionStatement> (driver->nodePool(), sym(1).Expression); node->semicolonToken = loc(2); sym(1).Node = node; } break; -case 239: { +case 240: { sym(1).Node = makeAstNode<AST::IfStatement> (driver->nodePool(), sym(3).Expression, sym(5).Statement, sym(7).Statement); } break; -case 240: { +case 241: { sym(1).Node = makeAstNode<AST::IfStatement> (driver->nodePool(), sym(3).Expression, sym(5).Statement); } break; -case 242: { +case 243: { sym(1).Node = makeAstNode<AST::DoWhileStatement> (driver->nodePool(), sym(2).Statement, sym(5).Expression); } break; -case 243: { +case 244: { sym(1).Node = makeAstNode<AST::WhileStatement> (driver->nodePool(), sym(3).Expression, sym(5).Statement); } break; -case 244: { +case 245: { sym(1).Node = makeAstNode<AST::ForStatement> (driver->nodePool(), sym(3).Expression, sym(5).Expression, sym(7).Expression, sym(9).Statement); } break; -case 245: { +case 246: { sym(1).Node = makeAstNode<AST::LocalForStatement> (driver->nodePool(), sym(4).VariableDeclarationList->finish (/*readOnly=*/false), sym(6).Expression, sym(8).Expression, sym(10).Statement); } break; -case 246: { +case 247: { sym(1).Node = makeAstNode<AST::ForEachStatement> (driver->nodePool(), sym(3).Expression, sym(5).Expression, sym(7).Statement); } break; -case 247: { +case 248: { sym(1).Node = makeAstNode<AST::LocalForEachStatement> (driver->nodePool(), sym(4).VariableDeclaration, sym(6).Expression, sym(8).Statement); } break; -case 249: { +case 250: { sym(1).Node = makeAstNode<AST::ContinueStatement> (driver->nodePool()); } break; -case 251: { +case 252: { sym(1).Node = makeAstNode<AST::ContinueStatement> (driver->nodePool(), sym(2).sval); } break; -case 253: { +case 254: { sym(1).Node = makeAstNode<AST::BreakStatement> (driver->nodePool()); } break; -case 255: { +case 256: { sym(1).Node = makeAstNode<AST::BreakStatement> (driver->nodePool(), sym(2).sval); } break; -case 257: { +case 258: { sym(1).Node = makeAstNode<AST::ReturnStatement> (driver->nodePool(), sym(2).Expression); } break; -case 258: { +case 259: { sym(1).Node = makeAstNode<AST::WithStatement> (driver->nodePool(), sym(3).Expression, sym(5).Statement); } break; -case 259: { +case 260: { sym(1).Node = makeAstNode<AST::SwitchStatement> (driver->nodePool(), sym(3).Expression, sym(5).CaseBlock); } break; -case 260: { +case 261: { sym(1).Node = makeAstNode<AST::CaseBlock> (driver->nodePool(), sym(2).CaseClauses); } break; -case 261: { +case 262: { sym(1).Node = makeAstNode<AST::CaseBlock> (driver->nodePool(), sym(2).CaseClauses, sym(3).DefaultClause, sym(4).CaseClauses); } break; -case 262: { +case 263: { sym(1).Node = makeAstNode<AST::CaseClauses> (driver->nodePool(), sym(1).CaseClause); } break; -case 263: { +case 264: { sym(1).Node = makeAstNode<AST::CaseClauses> (driver->nodePool(), sym(1).CaseClauses, sym(2).CaseClause); } break; -case 264: { +case 265: { sym(1).Node = 0; } break; -case 265: { +case 266: { sym(1).Node = sym(1).CaseClauses->finish (); } break; -case 266: { +case 267: { sym(1).Node = makeAstNode<AST::CaseClause> (driver->nodePool(), sym(2).Expression, sym(4).StatementList); } break; -case 267: { +case 268: { sym(1).Node = makeAstNode<AST::DefaultClause> (driver->nodePool(), sym(3).StatementList); } break; -case 268: { +case 269: { sym(1).Node = makeAstNode<AST::LabelledStatement> (driver->nodePool(), sym(1).sval, sym(3).Statement); } break; -case 270: { +case 271: { sym(1).Node = makeAstNode<AST::ThrowStatement> (driver->nodePool(), sym(2).Expression); } break; -case 271: { +case 272: { sym(1).Node = makeAstNode<AST::TryStatement> (driver->nodePool(), sym(2).Statement, sym(3).Catch); } break; -case 272: { +case 273: { sym(1).Node = makeAstNode<AST::TryStatement> (driver->nodePool(), sym(2).Statement, sym(3).Finally); } break; -case 273: { +case 274: { sym(1).Node = makeAstNode<AST::TryStatement> (driver->nodePool(), sym(2).Statement, sym(3).Catch, sym(4).Finally); } break; -case 274: { +case 275: { sym(1).Node = makeAstNode<AST::Catch> (driver->nodePool(), sym(3).sval, sym(5).Statement); } break; -case 275: { +case 276: { sym(1).Node = makeAstNode<AST::Finally> (driver->nodePool(), sym(2).Statement); } break; -case 277: { +case 278: { sym(1).Node = makeAstNode<AST::DebuggerStatement> (driver->nodePool()); } break; -case 278: { +case 279: { AST::FunctionDeclaration *node = makeAstNode<AST::FunctionDeclaration> (driver->nodePool(), sym(2).sval, sym(4).FormalParameterList, sym(7).FunctionBody); node->functionToken = loc(1); node->identifierToken = loc(2); @@ -1067,7 +1074,7 @@ case 278: { sym(1).Node = node; } break; -case 279: { +case 280: { AST::FunctionExpression *node = makeAstNode<AST::FunctionExpression> (driver->nodePool(), sym(2).sval, sym(4).FormalParameterList, sym(7).FunctionBody); node->functionToken = loc(1); if (sym(2).sval) @@ -1079,56 +1086,56 @@ case 279: { sym(1).Node = node; } break; -case 280: { +case 281: { AST::FormalParameterList *node = makeAstNode<AST::FormalParameterList> (driver->nodePool(), sym(1).sval); node->identifierToken = loc(1); sym(1).Node = node; } break; -case 281: { +case 282: { AST::FormalParameterList *node = makeAstNode<AST::FormalParameterList> (driver->nodePool(), sym(1).FormalParameterList, sym(3).sval); node->commaToken = loc(2); node->identifierToken = loc(3); sym(1).Node = node; } break; -case 282: { +case 283: { sym(1).Node = 0; } break; -case 283: { +case 284: { sym(1).Node = sym(1).FormalParameterList->finish (); } break; -case 284: { +case 285: { sym(1).Node = 0; } break; -case 286: { +case 287: { sym(1).Node = makeAstNode<AST::FunctionBody> (driver->nodePool(), sym(1).SourceElements->finish ()); } break; -case 287: { +case 288: { sym(1).Node = makeAstNode<AST::SourceElements> (driver->nodePool(), sym(1).SourceElement); } break; -case 288: { +case 289: { sym(1).Node = makeAstNode<AST::SourceElements> (driver->nodePool(), sym(1).SourceElements, sym(2).SourceElement); } break; -case 289: { +case 290: { sym(1).Node = makeAstNode<AST::StatementSourceElement> (driver->nodePool(), sym(1).Statement); } break; -case 290: { +case 291: { sym(1).Node = makeAstNode<AST::FunctionSourceElement> (driver->nodePool(), sym(1).FunctionDeclaration); } break; -case 291: { +case 292: { sym(1).sval = 0; } break; -case 293: { +case 294: { sym(1).Node = 0; } break; diff --git a/src/declarative/qml/parser/javascriptparser_p.h b/src/declarative/qml/parser/javascriptparser_p.h index d31597b..ee9adf6 100644 --- a/src/declarative/qml/parser/javascriptparser_p.h +++ b/src/declarative/qml/parser/javascriptparser_p.h @@ -203,9 +203,9 @@ protected: }; -#define J_SCRIPT_REGEXPLITERAL_RULE1 35 +#define J_SCRIPT_REGEXPLITERAL_RULE1 36 -#define J_SCRIPT_REGEXPLITERAL_RULE2 36 +#define J_SCRIPT_REGEXPLITERAL_RULE2 37 QT_END_NAMESPACE |