Bumping manifests a=b2g-bump
[gecko.git] / js / src / jsast.tbl
blobe139ea1982837e8459b71f1b093b2cd5b7437e3b
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2  *
3  * This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 /* AST_ERROR = -1 */
9 ASTDEF(AST_PROGRAM,               "Program",                        "program")
11 ASTDEF(AST_IDENTIFIER,            "Identifier",                     "identifier")
12 ASTDEF(AST_LITERAL,               "Literal",                        "literal")
13 ASTDEF(AST_PROPERTY,              "Property",                       "property")
14 ASTDEF(AST_PROTOTYPEMUTATION,     "PrototypeMutation",              "prototypeMutation")
16 ASTDEF(AST_MODULE_DECL,           "ModuleDeclaration",              "moduleDeclaration")
17 ASTDEF(AST_FUNC_DECL,             "FunctionDeclaration",            "functionDeclaration")
18 ASTDEF(AST_VAR_DECL,              "VariableDeclaration",            "variableDeclaration")
19 ASTDEF(AST_VAR_DTOR,              "VariableDeclarator",             "variableDeclarator")
21 ASTDEF(AST_LIST_EXPR,             "SequenceExpression",             "sequenceExpression")
22 ASTDEF(AST_COND_EXPR,             "ConditionalExpression",          "conditionalExpression")
23 ASTDEF(AST_UNARY_EXPR,            "UnaryExpression",                "unaryExpression")
24 ASTDEF(AST_BINARY_EXPR,           "BinaryExpression",               "binaryExpression")
25 ASTDEF(AST_ASSIGN_EXPR,           "AssignmentExpression",           "assignmentExpression")
26 ASTDEF(AST_LOGICAL_EXPR,          "LogicalExpression",              "logicalExpression")
27 ASTDEF(AST_UPDATE_EXPR,           "UpdateExpression",               "updateExpression")
28 ASTDEF(AST_NEW_EXPR,              "NewExpression",                  "newExpression")
29 ASTDEF(AST_CALL_EXPR,             "CallExpression",                 "callExpression")
30 ASTDEF(AST_MEMBER_EXPR,           "MemberExpression",               "memberExpression")
31 ASTDEF(AST_FUNC_EXPR,             "FunctionExpression",             "functionExpression")
32 ASTDEF(AST_ARROW_EXPR,            "ArrowExpression",                "arrowExpression")
33 ASTDEF(AST_ARRAY_EXPR,            "ArrayExpression",                "arrayExpression")
34 ASTDEF(AST_SPREAD_EXPR,           "SpreadExpression",               "spreadExpression")
35 ASTDEF(AST_OBJECT_EXPR,           "ObjectExpression",               "objectExpression")
36 ASTDEF(AST_THIS_EXPR,             "ThisExpression",                 "thisExpression")
37 ASTDEF(AST_COMP_EXPR,             "ComprehensionExpression",        "comprehensionExpression")
38 ASTDEF(AST_GENERATOR_EXPR,        "GeneratorExpression",            "generatorExpression")
39 ASTDEF(AST_YIELD_EXPR,            "YieldExpression",                "yieldExpression")
40 ASTDEF(AST_LET_EXPR,              "LetExpression",                  "letExpression")
42 ASTDEF(AST_EMPTY_STMT,            "EmptyStatement",                 "emptyStatement")
43 ASTDEF(AST_BLOCK_STMT,            "BlockStatement",                 "blockStatement")
44 ASTDEF(AST_EXPR_STMT,             "ExpressionStatement",            "expressionStatement")
45 ASTDEF(AST_LAB_STMT,              "LabeledStatement",               "labeledStatement")
46 ASTDEF(AST_IF_STMT,               "IfStatement",                    "ifStatement")
47 ASTDEF(AST_SWITCH_STMT,           "SwitchStatement",                "switchStatement")
48 ASTDEF(AST_WHILE_STMT,            "WhileStatement",                 "whileStatement")
49 ASTDEF(AST_DO_STMT,               "DoWhileStatement",               "doWhileStatement")
50 ASTDEF(AST_FOR_STMT,              "ForStatement",                   "forStatement")
51 ASTDEF(AST_FOR_IN_STMT,           "ForInStatement",                 "forInStatement")
52 ASTDEF(AST_FOR_OF_STMT,           "ForOfStatement",                 "forOfStatement")
53 ASTDEF(AST_BREAK_STMT,            "BreakStatement",                 "breakStatement")
54 ASTDEF(AST_CONTINUE_STMT,         "ContinueStatement",              "continueStatement")
55 ASTDEF(AST_WITH_STMT,             "WithStatement",                  "withStatement")
56 ASTDEF(AST_RETURN_STMT,           "ReturnStatement",                "returnStatement")
57 ASTDEF(AST_TRY_STMT,              "TryStatement",                   "tryStatement")
58 ASTDEF(AST_THROW_STMT,            "ThrowStatement",                 "throwStatement")
59 ASTDEF(AST_DEBUGGER_STMT,         "DebuggerStatement",              "debuggerStatement")
60 ASTDEF(AST_LET_STMT,              "LetStatement",                   "letStatement")
61 ASTDEF(AST_IMPORT_DECL,           "ImportDeclaration",              "importDeclaration")
62 ASTDEF(AST_IMPORT_SPEC,           "ImportSpecifier",                "importSpecifier")
63 ASTDEF(AST_EXPORT_DECL,           "ExportDeclaration",              "exportDeclaration")
64 ASTDEF(AST_EXPORT_SPEC,           "ExportSpecifier",                "exportSpecifier")
65 ASTDEF(AST_EXPORT_BATCH_SPEC,     "ExportBatchSpecifier",           "exportBatchSpecifier")
67 ASTDEF(AST_CASE,                  "SwitchCase",                     "switchCase")
68 ASTDEF(AST_CATCH,                 "CatchClause",                    "catchClause")
69 ASTDEF(AST_COMP_BLOCK,            "ComprehensionBlock",             "comprehensionBlock")
71 ASTDEF(AST_ARRAY_PATT,            "ArrayPattern",                   "arrayPattern")
72 ASTDEF(AST_OBJECT_PATT,           "ObjectPattern",                  "objectPattern")
73 ASTDEF(AST_PROP_PATT,             "Property",                       "propertyPattern")
74 ASTDEF(AST_TEMPLATE_LITERAL,      "TemplateLiteral",                "templateLiteral")
75 ASTDEF(AST_TAGGED_TEMPLATE,       "TaggedTemplate",                 "taggedTemplate")
76 ASTDEF(AST_CALL_SITE_OBJ,         "CallSiteObject",                 "callSiteObject")
77 ASTDEF(AST_COMPUTED_NAME,         "ComputedName",                   "computedName")
79 /* AST_LIMIT = last + 1 */